destdir and argus-clients-3.0.0.rc.9
Gabriel L. Somlo
somlo at cmu.edu
Wed Jun 21 16:40:52 EDT 2006
There's one spot in argus-clients rc.9 where DESTDIR didn't get
applied -- in common/Makefile.in
The attached patch should fix that.
Thanks,
Gabriel
-------------- next part --------------
diff -NarU5 argus-clients-3.0.0.orig/common/Makefile.in argus-clients-3.0.0/common/Makefile.in
--- argus-clients-3.0.0.orig/common/Makefile.in 2006-06-08 14:20:12.000000000 -0400
+++ argus-clients-3.0.0/common/Makefile.in 2006-06-21 16:35:34.000000000 -0400
@@ -129,18 +129,18 @@
version.c: $(srcdir)/../VERSION
@rm -f $@
sed -e 's/.*/char version[] = "&";/' $(srcdir)/../VERSION > $@
install: force all
- [ -d $(LIBDEST) ] || \
- (mkdir -p $(LIBDEST); chmod 755 $(LIBDEST))
+ [ -d $(DESTDIR)$(LIBDEST) ] || \
+ (mkdir -p $(DESTDIR)$(LIBDEST); chmod 755 $(DESTDIR)$(LIBDEST))
- $(INSTALL) $(srcdir)/../lib/argus_common.a $(LIBDEST)/argus_common.a
- $(INSTALL) $(srcdir)/../lib/argus_parse.a $(LIBDEST)/argus_parse.a
+ $(INSTALL) $(srcdir)/../lib/argus_common.a $(DESTDIR)$(LIBDEST)/argus_common.a
+ $(INSTALL) $(srcdir)/../lib/argus_parse.a $(DESTDIR)$(LIBDEST)/argus_parse.a
- $(RANLIB) $(LIBDEST)/argus_common.a
- $(RANLIB) $(LIBDEST)/argus_parse.a
+ $(RANLIB) $(DESTDIR)$(LIBDEST)/argus_common.a
+ $(RANLIB) $(DESTDIR)$(LIBDEST)/argus_parse.a
clean:
rm -f $(CLEANFILES)
distclean:
More information about the argus
mailing list