aboutsummaryrefslogtreecommitdiff
path: root/app/misc/wipe/wipe-2.2.0.diff
blob: dfe2f017e86340edb6a6c45d7387e473ac30f89d (plain)
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
diff -Naur wipe-2.2.0.orig/Makefile.in wipe-2.2.0/Makefile.in
--- wipe-2.2.0.orig/Makefile.in	2003-08-30 22:18:03.000000000 -0300
+++ wipe-2.2.0/Makefile.in	2008-04-21 15:45:45.000000000 -0300
@@ -57,15 +57,15 @@
 	@ldd $(BIN_OUT)
 
 install: $(BIN_OUT)
-	$(INSTALL_BIN) -d $(bindir)
-	$(INSTALL_BIN) -s $(BIN_OUT) $(bindir)
-	$(INSTALL) -d $(mandir)/man1
-	$(INSTALL) -o root -m 0644 wipe.1 $(mandir)/man1/
-	rm -rf $(datadir)/doc/wipe*
-	$(INSTALL) -d $(datadir)/doc/wipe
+	$(INSTALL_BIN) -d $(DESTDIR)/$(bindir)
+	$(INSTALL_BIN) -s $(BIN_OUT) $(DESTDIR)/$(bindir)
+	$(INSTALL) -d $(DESTDIR)/$(mandir)/man1
+	$(INSTALL) -o root -m 0644 wipe.1 $(DESTDIR)/$(mandir)/man1/
+	rm -rf $(DESTDIR)/$(datadir)/doc/wipe*
+	$(INSTALL) -d $(DESTDIR)/$(datadir)/doc/wipe
 
 	for file in $(DOCS); do \
-		$(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \
+		$(INSTALL) -o root -m 0644 $$file $(DESTDIR)/$(datadir)/doc/wipe/; \
 	done
 
 install_home: $(BIN_OUT)