]> git.pld-linux.org Git - packages/mt-st.git/blob - mt-st-DESTDIR.patch
d6b1b0c540379e7b2ea5c9d968d01a09d1f5f88f
[packages/mt-st.git] / mt-st-DESTDIR.patch
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
8  
9  all:   mt stinit
10  
11 @@ -12,14 +13,12 @@
12         $(CC) $(CFLAGS) -o stinit stinit.c
13  
14  install: mt stinit
15 -       install -s mt $(MTDIR)
16 -       install -c -m 444 mt.1 $(MANDIR)/man1
17 -       (if [ -f $(MANDIR)/man1/mt.1.gz ] ; then \
18 -         rm -f $(MANDIR)/man1/mt.1.gz; gzip $(MANDIR)/man1/mt.1; fi)
19 -       install -s stinit $(SBINDIR)
20 -       install -c -m 444 stinit.8 $(MANDIR)/man8
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
29  
30  dist:  clean
31         (mydir=`basename \`pwd\``;\
This page took 0.02601 seconds and 3 git commands to generate.