]> git.pld-linux.org Git - packages/mt-st.git/blame - mt-st-DESTDIR.patch
- updated to 1.1
[packages/mt-st.git] / mt-st-DESTDIR.patch
CommitLineData
20452578 1--- mt-st-0.8/Makefile~ 2004-04-24 16:34:33.000000000 +0200
2+++ mt-st-0.8/Makefile 2004-04-24 16:38:14.000000000 +0200
3@@ -2,6 +2,7 @@
4 SBINDIR= /sbin
5 BINDIR= /bin
6 MANDIR= /usr/share/man
7+SYSCONFDIR= /etc
56eb4b91 8
9 all: mt stinit
10
20452578 11@@ -12,14 +13,12 @@
56eb4b91 12 $(CC) $(CFLAGS) -o stinit stinit.c
13
14 install: mt stinit
b26d21e2 15- install -s mt $(MTDIR)
56eb4b91 16- install -c -m 444 mt.1 $(MANDIR)/man1
20452578 17- (if [ -f $(MANDIR)/man1/mt.1.gz ] ; then \
18- rm -f $(MANDIR)/man1/mt.1.gz; gzip $(MANDIR)/man1/mt.1; fi)
56eb4b91 19- install -s stinit $(SBINDIR)
20- install -c -m 444 stinit.8 $(MANDIR)/man8
20452578 21- (if [ -f $(MANDIR)/man8/stinit.8.gz ] ; then \
22- rm -f $(MANDIR)/man8/stinit.8.gz; gzip $(MANDIR)/man8/stinit.8; fi)
23+ install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(SYSCONFDIR)
24+ install -s mt $(DESTDIR)$(BINDIR)
25+ install -c -m 444 mt.1 $(DESTDIR)$(MANDIR)/man1
26+ install -s stinit $(DESTDIR)$(SBINDIR)
27+ install -c -m 444 stinit.8 $(DESTDIR)$(MANDIR)/man8
28+ install stinit.def.examples $(DESTDIR)$(SYSCONFDIR)/stinit.def
56eb4b91 29
30 dist: clean
31 (mydir=`basename \`pwd\``;\
This page took 0.220068 seconds and 4 git commands to generate.