blob: 6d7d85f5bfd67018385199f9ecc16313ac9ddc03 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- ./Makefile.orig 2010-02-14 19:14:16.000000000 +0100
+++ ./Makefile 2010-11-12 00:49:47.000000000 +0100
@@ -21,7 +21,7 @@
LDFLAGS +=
LIBS :=
DESTDIR =
-PREFIX := $(DESTDIR)/usr
+#PREFIX := $(DESTDIR)/usr
STRIP := strip
MKDIR := mkdir -p
CP := cp
@@ -97,15 +97,15 @@
$(STRIP) --strip-unneeded $(TARGETS)
install: all
- $(MKDIR) $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
+ $(MKDIR) $(PREFIX)/bin/ $(MANPREFIX)/share/man/man1/
for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
ifeq ($(S),)
$(MKDIR) $(PREFIX)/share/doc/pax-utils/
$(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
- -$(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
+ -$(INS_DATA) $(MPAGES) $(MANPREFIX)/share/man/man1/
else
- $(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
+ $(INS_DATA) $(MPAGES) $(MANPREFIX)/share/man/man1/
endif
dist:
|