patch-Makefile 906 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2013/12/20 19:36:52 ajacoutot Exp $
  2. --- Makefile.orig Tue Sep 4 18:53:38 2012
  3. +++ Makefile Fri Dec 20 16:54:36 2013
  4. @@ -4,7 +4,7 @@ VERSION = 0.9.8
  5. # Locate the gtk/gdk libraries (thanks to nev for this!)
  6. GTKFLAGS := $(shell pkg-config --cflags gtk+-2.0 gdk-2.0 2> /dev/null)
  7. -CFLAGS += -g -Wall -pedantic -DVERSION='"$(VERSION)"' $(GTKFLAGS)
  8. +CFLAGS += -Wall -pedantic -DVERSION='"$(VERSION)"' $(GTKFLAGS)
  9. XLIBS := $(shell pkg-config --libs gtk+-2.0 > /dev/null)
  10. GLIBS := $(shell pkg-config --libs gtk+-2.0 gdk-2.0)
  11. @@ -57,8 +57,8 @@ deb: pho
  12. dpkg-buildpackage -rfakeroot
  13. install: pho
  14. - $(INSTALL) pho $(INSTALLPREFIX)/bin/pho
  15. - $(INSTALL) pho.1 $(INSTALLPREFIX)/man/man1/pho.1
  16. + $(BSD_INSTALL_PROGRAM) pho $(INSTALLPREFIX)/bin/pho
  17. + $(BSD_INSTALL_MAN) pho.1 $(INSTALLPREFIX)/man/man1/pho.1
  18. clean:
  19. rm -f *.[oas] *.ld core* pho xpho pho-*.tar.gz *.rpm