Makefile.diff 786 B

1234567891011121314151617181920212223242526
  1. --- Makefile.orig 2009-10-31 19:59:54.000000000 +0300
  2. +++ Makefile 2009-10-31 20:09:49.000000000 +0300
  3. @@ -26,9 +26,9 @@
  4. # Look where your install program is
  5. #
  6. INSTALL = /usr/bin/install
  7. -prefix = /usr
  8. +prefix = ${DESTDIR}/usr
  9. bindir = $(prefix)/bin
  10. -mandir = $(prefix)/share/$(MAN)
  11. +mandir = $(prefix)/$(MAN)
  12. obj = db_dump.o dbview.o version.o
  13. @@ -46,8 +46,8 @@
  14. install: all
  15. $(INSTALL) -d -o root -g root -m 755 $(bindir)
  16. $(INSTALL) -s -o root -g root -m 755 dbview $(bindir)
  17. - $(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1
  18. - $(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1
  19. + $(INSTALL) -d -o root -g root -m 755 $(mandir)/man1
  20. + $(INSTALL) -o root -g root -m 644 dbview.1 $(mandir)/man1
  21. clean:
  22. rm -f dbview *.o *.log *~ *.orig Makefile.bak;