From 20a3efe5e83f9efe350b3106cbfc260d8d5d80a8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 10 Sep 2008 14:20:33 +0000 Subject: OS X friendly install invocation svn path=/trunk/libparserutils/; revision=5300 --- build/Makefile.common | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/build/Makefile.common b/build/Makefile.common index 8740395..99ece68 100644 --- a/build/Makefile.common +++ b/build/Makefile.common @@ -99,13 +99,12 @@ install: release @$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/include/parserutils/input @$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/include/parserutils/utils @$(SED) -e 's#PREFIX#$(PREFIX)#' $(COMPONENT).pc.in >$(COMPONENT).pc - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/lib $(COMPONENT).a - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/lib/pkgconfig $(COMPONENT).pc - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils $(filter %.h, $(wildcard include/parserutils/*)) - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/charset $(filter %.h, $(wildcard include/parserutils/charset/*)) - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/input $(filter %.h, $(wildcard include/parserutils/input/*)) - $(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/utils $(filter %.h, $(wildcard include/parserutils/utils/*)) - + $(INSTALL) -m 644 $(COMPONENT).a $(PREFIX)/lib + $(INSTALL) -m 644 $(COMPONENT).pc $(PREFIX)/lib/pkgconfig + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/*)) $(PREFIX)/include/parserutils + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/charset/*)) $(PREFIX)/include/parserutils/charset + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/input/*)) $(PREFIX)/include/parserutils/input + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/utils/*)) $(PREFIX)/include/parserutils/utils uninstall: $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/$(COMPONENT).a -- cgit v1.2.3