Ticket #35427: patch-Makefile.diff
File patch-Makefile.diff, 1001 bytes (added by gregori.emiliano@…, 12 years ago) |
---|
-
Makefile
old new 17 17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 18 18 19 19 20 MAN=man21 22 20 CC= gcc 23 21 CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe 24 22 # CFLAGS= -g -fomit-frame-pointer -Wall -pipe … … 26 24 # Look where your install program is 27 25 # 28 26 INSTALL = /usr/bin/install 29 prefix = / usr27 prefix = /opt/local 30 28 bindir = $(prefix)/bin 31 mandir = $(prefix)/share/ $(MAN)29 mandir = $(prefix)/share/man 32 30 33 31 obj = db_dump.o dbview.o version.o 34 32 … … 44 42 makedepend *.c 45 43 46 44 install: all 47 $(INSTALL) -d -o root -g root -m 755 $(bindir) 48 $(INSTALL) -s -o root -g root -m 755 dbview $(bindir) 49 $(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1 50 $(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1 45 $(INSTALL) -m 755 dbview $(DESTDIR)$(bindir) 46 $(INSTALL) -m 644 dbview.1 $(DESTDIR)$(mandir)/man1 51 47 52 48 clean: 53 49 rm -f dbview *.o *.log *~ *.orig Makefile.bak;