updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / totd / Makefile.in.patch
blob4ee3b01fbab1bdfd5384867393914b7fb3be51e2
1 diff -Naur totd-1.5.1/Makefile.in totd-1.5.1-new/Makefile.in
2 --- totd-1.5.1/Makefile.in 2005-01-31 05:55:14.000000000 -0600
3 +++ totd-1.5.1-new/Makefile.in 2011-10-13 18:55:35.664818486 -0500
4 @@ -12,14 +12,15 @@
5 prefix=@prefix@
6 exec_prefix=@exec_prefix@
8 +DESTDIR=?
9 INSTALLDIR = @sbindir@
10 INSTALLLIB = @libdir@
11 INSTALLMAN = @mandir@
12 TOT_CONFIG_FILE=@sysconfdir@/totd.conf
14 -INSTALL = /usr/bin/install
15 +INSTALL = /bin/install
17 -CFLAGS = @CFLAGS@ @DEFS@ -Werror -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
18 +CFLAGS = @CFLAGS@ @DEFS@ -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
20 # When debugging is enabled by --enable-malloc-debug flag to the configure
21 # script, the @DBMALLOC@ substitution will contain the empty string, thus
22 @@ -66,8 +67,8 @@
23 -ranlib libswill.a
25 install: $(PROG)
26 - $(INSTALL) -c -s -m 0555 -o bin -g bin $(PROG) $(INSTALLDIR)
27 - $(INSTALL) -c -m 0444 -o root -g wheel $(MAN) $(INSTALLMAN)/man8
28 + $(INSTALL) $(PROG) $(DESTDIR)$(INSTALLDIR)
29 + $(INSTALL) $(MAN) $(DESTDIR)$(INSTALLMAN)/man8
31 lint:
32 lint ${SRCS}