r5254 jmb - /trunk/libcss/build/Makefile.common

netsurf at semichrome.net netsurf at semichrome.net
Fri Sep 5 12:43:49 BST 2008


Author: jmb
Date: Fri Sep  5 06:43:49 2008
New Revision: 5254

URL: http://source.netsurf-browser.org?rev=5254&view=rev
Log:
Make export target useful

Modified:
    trunk/libcss/build/Makefile.common

Modified: trunk/libcss/build/Makefile.common
URL: http://source.netsurf-browser.org/trunk/libcss/build/Makefile.common?rev=5254&r1=5253&r2=5254&view=diff
==============================================================================
--- trunk/libcss/build/Makefile.common (original)
+++ trunk/libcss/build/Makefile.common Fri Sep  5 06:43:49 2008
@@ -84,10 +84,9 @@
 	@$(MKDIR) $(MKDIRFLAGS) $(DEBUGDIR)
 	@$(MKDIR) $(MKDIRFLAGS) $(COVERAGEDIR)
 
-export: release
-	@$(MKDIR) $(MKDIRFLAGS) $(TOP)/dist/lib
-	@$(CP) $(CPFLAGS) -r include $(EXPORT)/
-	@${CP} ${CPFLAGS} $(COMPONENT).a ${EXPORT}/lib/
+export:
+	@$(MKDIR) $(MKDIRFLAGS) -p $(TOP)/dist
+	@$(MAKE) install PREFIX="$(TOP)/dist"
 
 install: release
 	@$(MKDIR) $(MKDIRFLAGS) -p $(PREFIX)/lib/pkgconfig




More information about the netsurf-commits mailing list