Ticket #48638: rename-patch-Makefile.diff
File rename-patch-Makefile.diff, 1.7 KB (added by youvegotmoxie@…, 9 years ago) |
---|
-
files/patch-Makefile
1 --- Makefile Fri Dec 6 08:08:05 20022 +++ ../../Makefile Mon Nov 8 17:35:00 20043 @@ -3,9 +3,9 @@4 #################################################5 6 # where the binary should be installed7 -DIR_INSTALL = /usr/bin8 +DIR_INSTALL = $(DESTDIR)$(PREFIX)/bin9 # where the manpage goes10 -MAN_INSTALL = /usr/man/man111 +MAN_INSTALL = $(DESTDIR)$(PREFIX)/share/man/man112 13 PRG = mkpwd14 SRC = mkpwd.c15 @@ -14,11 +14,11 @@16 17 CC = gcc18 # FLAGS = -g19 -LDFLAGS = -lcrypt20 +LDFLAGS =21 22 $(PRG): $(OBJ)23 $(CC) -o $(PRG) $(OBJ) $(LDFLAGS)24 - strip --strip-all $(PRG)25 + strip $(PRG)26 27 $(OBJ): $(SRC)28 $(CC) $(FLAGS) -c $(SRC) -
files/patch-Makefile.diff
1 --- Makefile Fri Dec 6 08:08:05 2002 2 +++ ../../Makefile Mon Nov 8 17:35:00 2004 3 @@ -3,9 +3,9 @@ 4 ################################################# 5 6 # where the binary should be installed 7 -DIR_INSTALL = /usr/bin 8 +DIR_INSTALL = $(DESTDIR)$(PREFIX)/bin 9 # where the manpage goes 10 -MAN_INSTALL = /usr/man/man1 11 +MAN_INSTALL = $(DESTDIR)$(PREFIX)/share/man/man1 12 13 PRG = mkpwd 14 SRC = mkpwd.c 15 @@ -14,11 +14,11 @@ 16 17 CC = gcc 18 # FLAGS = -g 19 -LDFLAGS = -lcrypt 20 +LDFLAGS = 21 22 $(PRG): $(OBJ) 23 $(CC) -o $(PRG) $(OBJ) $(LDFLAGS) 24 - strip --strip-all $(PRG) 25 + strip $(PRG) 26 27 $(OBJ): $(SRC) 28 $(CC) $(FLAGS) -c $(SRC)