r5251 jmb - /trunk/libparserutils/build/Makefile.common

netsurf at semichrome.net netsurf at semichrome.net
Fri Sep 5 12:38:29 BST 2008


Author: jmb
Date: Fri Sep  5 06:38:28 2008
New Revision: 5251

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

Modified:
    trunk/libparserutils/build/Makefile.common

Modified: trunk/libparserutils/build/Makefile.common
URL: http://source.netsurf-browser.org/trunk/libparserutils/build/Makefile.common?rev=5251&r1=5250&r2=5251&view=diff
==============================================================================
--- trunk/libparserutils/build/Makefile.common (original)
+++ trunk/libparserutils/build/Makefile.common Fri Sep  5 06:38:28 2008
@@ -87,10 +87,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