ossp-pkg/petidomo/Makefile.in 1.44 -> 1.45
--- Makefile.in 2001/01/20 15:18:59 1.44
+++ Makefile.in 2001/01/21 12:20:41 1.45
@@ -11,6 +11,8 @@
localstatedir = @localstatedir@/petidomo
mandir = @mandir@
+DESTDIR =
+
CC = @CC@
AR = ar
RANLIB = @RANLIB@
@@ -76,32 +78,32 @@
echo "<=== $$subdir"
install: all
- $(SHTOOL) mkdir -f -p -m 755 $(bindir)
- $(SHTOOL) mkdir -f -p -m 755 $(sysconfdir)
- $(SHTOOL) mkdir -f -p -m 755 $(localstatedir)/lists
- $(SHTOOL) mkdir -f -p -m 755 $(localstatedir)/ack-queue
- $(SHTOOL) mkdir -f -p -m 755 $(datadir)
- $(SHTOOL) mkdir -f -p -m 755 $(libexecdir)
- $(SHTOOL) mkdir -f -p -m 755 $(mandir)/man1
- $(SHTOOL) install -c -s -m 555 petidomo $(bindir)
- $(SHTOOL) install -c -m 755 petidomo-approve $(bindir)
- $(SHTOOL) install -c -m 755 petidomo-kickout $(bindir)
- $(SHTOOL) install -c -m 644 petidomo.1 $(mandir)/man1/petidomo.1
- $(SHTOOL) install -c -m 644 config/petidomo.conf $(sysconfdir)/petidomo.conf-sample
- $(SHTOOL) install -c -m 644 config/petidomo.acl $(sysconfdir)/petidomo.acl-sample
- $(SHTOOL) install -c -m 444 config/help $(datadir)
- if [ ! -f $(localstatedir)/index ] ; then $(SHTOOL) install -c -m 444 config/index $(localstatedir); fi
- $(SHTOOL) install -c -m 555 filter/insert-name-in-subject.sh $(libexecdir)
- $(SHTOOL) install -c -m 555 filter/pgp-decrypt.sh $(libexecdir)
- $(SHTOOL) install -c -m 555 filter/pgp-encrypt.sh $(libexecdir)
- $(SHTOOL) install -c -m 555 filter/rfc2369.sh $(libexecdir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sysconfdir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir)/lists
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir)/ack-queue
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libexecdir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
+ $(SHTOOL) install -c -s -m 555 petidomo $(DESTDIR)$(bindir)
+ $(SHTOOL) install -c -m 755 petidomo-approve $(DESTDIR)$(bindir)
+ $(SHTOOL) install -c -m 755 petidomo-kickout $(DESTDIR)$(bindir)
+ $(SHTOOL) install -c -m 644 petidomo.1 $(DESTDIR)$(mandir)/man1/petidomo.1
+ $(SHTOOL) install -c -m 644 config/petidomo.conf $(DESTDIR)$(sysconfdir)/petidomo.conf-sample
+ $(SHTOOL) install -c -m 644 config/petidomo.acl $(DESTDIR)$(sysconfdir)/petidomo.acl-sample
+ $(SHTOOL) install -c -m 444 config/help $(DESTDIR)$(datadir)
+ if [ ! -f $(DESTDIR)$(localstatedir)/index ] ; then $(SHTOOL) install -c -m 444 config/index $(DESTDIR)$(localstatedir); fi
+ $(SHTOOL) install -c -m 555 filter/insert-name-in-subject.sh $(DESTDIR)$(libexecdir)
+ $(SHTOOL) install -c -m 555 filter/pgp-decrypt.sh $(DESTDIR)$(libexecdir)
+ $(SHTOOL) install -c -m 555 filter/pgp-encrypt.sh $(DESTDIR)$(libexecdir)
+ $(SHTOOL) install -c -m 555 filter/rfc2369.sh $(DESTDIR)$(libexecdir)
install-testlist:
- $(SHTOOL) mkdir -f -p -m 755 $(localstatedir)/lists/testlist
- $(SHTOOL) install -c -m 644 config/list-config $(localstatedir)/lists/testlist/config
- $(SHTOOL) install -c -m 644 config/list-acl $(localstatedir)/lists/testlist/acl
- @rm -f $(localstatedir)/lists/testlist/list
- $(SHTOOL) install -c -m 644 /dev/null $(localstatedir)/lists/testlist/list
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir)/lists/testlist
+ $(SHTOOL) install -c -m 644 config/list-config $(DESTDIR)$(localstatedir)/lists/testlist/config
+ $(SHTOOL) install -c -m 644 config/list-acl $(DESTDIR)$(localstatedir)/lists/testlist/acl
+ @rm -f $(DESTDIR)$(localstatedir)/lists/testlist/list
+ $(SHTOOL) install -c -m 644 /dev/null $(DESTDIR)$(localstatedir)/lists/testlist/list
clean distclean realclean::
@for subdir in lib*; do \
|
|