From 42f356b6f9e5320082e5d28444a21015ca9e63fe Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 5 Sep 2008 11:38:28 +0000 Subject: Make the export target actually useful svn path=/trunk/libparserutils/; revision=5251 --- build/Makefile.common | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/Makefile.common b/build/Makefile.common index 418a5a8..1817555 100644 --- a/build/Makefile.common +++ b/build/Makefile.common @@ -87,10 +87,9 @@ setup: @$(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 -- cgit v1.2.3