new homepage
[packages/fdupes.git] / fdupes-make.patch
CommitLineData
425d1ab8
ER
1--- fdupes-1.51/Makefile~ 2013-04-20 20:51:58.000000000 +0300
2+++ fdupes-1.51/Makefile 2014-04-07 20:59:52.580658642 +0300
3@@ -56,7 +56,7 @@
4 # MAN_DIR indicates directory where the fdupes man page is to be
5 # installed. Suggested value is "$(PREFIX)/man/man1"
161c01d8 6 #
425d1ab8
ER
7-MAN_BASE_DIR = $(PREFIX)/man
8+MAN_BASE_DIR = $(PREFIX)/share/man
9 MAN_DIR = $(MAN_BASE_DIR)/man1
10 MAN_EXT = 1
161c01d8 11
425d1ab8
ER
12@@ -103,12 +103,12 @@
13 $(CC) $(CFLAGS) -o fdupes $(OBJECT_FILES)
161c01d8 14
425d1ab8
ER
15 installdirs:
16- test -d $(BIN_DIR) || $(MKDIR) $(BIN_DIR)
17- test -d $(MAN_DIR) || $(MKDIR) $(MAN_DIR)
18+ test -d $(DESTDIR)$(BIN_DIR) || $(MKDIR) $(DESTDIR)$(BIN_DIR)
19+ test -d $(DESTDIR)$(MAN_DIR) || $(MKDIR) $(DESTDIR)$(MAN_DIR)
161c01d8 20
425d1ab8
ER
21 install: fdupes installdirs
22- $(INSTALL_PROGRAM) fdupes $(BIN_DIR)/$(PROGRAM_NAME)
23- $(INSTALL_DATA) fdupes.1 $(MAN_DIR)/$(PROGRAM_NAME).$(MAN_EXT)
24+ $(INSTALL_PROGRAM) fdupes $(DESTDIR)$(BIN_DIR)/$(PROGRAM_NAME)
25+ $(INSTALL_DATA) fdupes.1 $(DESTDIR)$(MAN_DIR)/$(PROGRAM_NAME).$(MAN_EXT)
161c01d8 26
425d1ab8
ER
27 clean:
28 $(RM) $(OBJECT_FILES)
This page took 0.076517 seconds and 4 git commands to generate.