From 3f8cf4299420f4f62d1d3fd0ac57d37420e9e771 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 18 Sep 2008 20:25:02 +0000 Subject: Fix install target's use of DESTDIR. sigh. svn path=/trunk/libparserutils/; revision=5371 --- build/Makefile.common | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/Makefile.common b/build/Makefile.common index 99ece68..ca98d27 100644 --- a/build/Makefile.common +++ b/build/Makefile.common @@ -99,12 +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) -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 + $(INSTALL) -m 644 $(COMPONENT).a $(DESTDIR)$(PREFIX)/lib + $(INSTALL) -m 644 $(COMPONENT).pc $(DESTDIR)$(PREFIX)/lib/pkgconfig + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/*)) $(DESTDIR)$(PREFIX)/include/parserutils + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/charset/*)) $(DESTDIR)$(PREFIX)/include/parserutils/charset + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/input/*)) $(DESTDIR)$(PREFIX)/include/parserutils/input + $(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/utils/*)) $(DESTDIR)$(PREFIX)/include/parserutils/utils uninstall: $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/$(COMPONENT).a -- cgit v1.2.3