1 --- hdparm-9.43.orig/Makefile 2012-03-08 21:14:40.000000000 +0100
2 +++ hdparm-9.43/Makefile 2014-02-07 20:38:09.000000000 +0100
3 @@ -48,9 +48,9 @@ install: all hdparm.8
4 if [ -f $(DESTDIR)$(sbindir)/hdparm ]; then rm -f $(DESTDIR)$(sbindir)/hdparm ; fi
5 if [ -f $(DESTDIR)$(mandir)/man8/hdparm.8 ]; then rm -f $(DESTDIR)$(mandir)/man8/hdparm.8 ;\
6 elif [ -f $(DESTDIR)$(oldmandir)/man8/hdparm.8 ]; then rm -f $(DESTDIR)$(oldmandir)/man8/hdparm.8 ; fi
7 - $(INSTALL_PROGRAM) -D hdparm $(DESTDIR)$(sbindir)/hdparm
8 - if [ -d $(DESTDIR)$(mandir) ]; then $(INSTALL_DATA) -D hdparm.8 $(DESTDIR)$(mandir)/man8/hdparm.8 ;\
9 - elif [ -d $(DESTDIR)$(oldmandir) ]; then $(INSTALL_DATA) -D hdparm.8 $(DESTDIR)$(oldmandir)/man8/hdparm.8 ; fi
10 + $(INSTALL_PROGRAM) hdparm $(DESTDIR)$(sbindir)/hdparm
11 + if [ -d $(DESTDIR)$(mandir) ]; then $(INSTALL_DATA) hdparm.8 $(DESTDIR)$(mandir)/man8/hdparm.8 ;\
12 + elif [ -d $(DESTDIR)$(oldmandir) ]; then $(INSTALL_DATA) hdparm.8 $(DESTDIR)$(oldmandir)/man8/hdparm.8 ; fi
15 -rm -f hdparm $(OBJS) core 2>/dev/null