File wipe-2.2.0-makefile.diff of Package wipe
--- Makefile.in
+++ Makefile.in
@@ -57,16 +57,10 @@
@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
-
- for file in $(DOCS); do \
- $(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \
- done
+ $(INSTALL_BIN) -d $(DESTDIR)$(bindir)
+ $(INSTALL_BIN) $(BIN_OUT) $(DESTDIR)$(bindir)
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man1
+ $(INSTALL) -m 0644 wipe.1 $(DESTDIR)$(mandir)/man1/
install_home: $(BIN_OUT)
strip $(BIN_OUT)