$OpenBSD: patch-Makefile,v 1.1 2008/05/19 18:42:56 simon Exp $ --- Makefile.orig Mon May 19 20:28:40 2008 +++ Makefile Mon May 19 20:30:38 2008 @@ -60,13 +60,13 @@ install: all install-dirs for SUPT in $(SUPPORTFILES) ; do \ $(INSTALL) -m 644 $$SUPT $(DESTDIR)$(LIBDIR); \ done; - $(INSTALL) -m 644 wmtheme.1.gz $(DESTDIR)$(MANDIR) + $(INSTALL) -m 644 wmtheme.1 $(DESTDIR)$(MANDIR) for INVOCATION in $(INVOCATIONS); do \ if [ ! -e $(DESTDIR)$(BINDIR)/$$INVOCATION ] ; then \ ln -s wmtheme $(DESTDIR)$(BINDIR)/$$INVOCATION; \ fi; \ - if [ ! -e $(DESTDIR)$(MANDIR)/$$INVOCATION.1.gz ] ; then \ - ln -s wmtheme.1.gz $(DESTDIR)$(MANDIR)/$$INVOCATION.1.gz; \ + if [ ! -e $(DESTDIR)$(MANDIR)/$$INVOCATION.1 ] ; then \ + ln -s wmtheme.1 $(DESTDIR)$(MANDIR)/$$INVOCATION.1; \ fi; \ done; $(INSTALL) -m 755 wminstallfonts $(DESTDIR)$(BINDIR) @@ -87,23 +87,20 @@ uninstall: if [ -h $(DESTDIR)$(BINDIR)/$$INVOCATION ]; \ then rm $(DESTDIR)$(BINDIR)/$$INVOCATION; \ fi; \ - if [ -h $(DESTDIR)$(MANDIR)/$$INVOCATION.1.gz ]; \ - then rm $(DESTDIR)$(MANDIR)/$$INVOCATION.1.gz; \ + if [ -h $(DESTDIR)$(MANDIR)/$$INVOCATION.1 ]; \ + then rm $(DESTDIR)$(MANDIR)/$$INVOCATION.1; \ fi; \ done; rm -f $(DESTDIR)$(BINDIR)/wminstallfonts rm -f $(DESTDIR)$(BINDIR)/apply-gtk-theme - rm -f $(DESTDIR)$(MANDIR)/wmtheme.1.gz + rm -f $(DESTDIR)$(MANDIR)/wmtheme.1 # This is removes a symlink created by install-dev rm -f $(DESTDIR)$(MANDIR)/wmtheme.1 -manpage: wmtheme.1.gz +manpage: wmtheme.1 -wmtheme.1.gz: wmtheme.1 - gzip -9 < wmtheme.1 > wmtheme.1.gz - clean: - rm -f wmtheme.1.gz + rm -f wmtheme.1 rm -f apply-gtk-theme rm -f $(LSM) rm -f $(TARBALL) @@ -178,9 +175,9 @@ speclist: echo $(LIBDIR) >> spec-file-list for invocation in $(INVOCATIONS); do \ echo "$(BINDIR)/$$invocation" >> spec-file-list; \ - echo "$(MANDIR)/$$invocation.1.gz" >> spec-file-list; \ + echo "$(MANDIR)/$$invocation.1" >> spec-file-list; \ done - echo "$(MANDIR)/wmtheme.1.gz" >> spec-file-list + echo "$(MANDIR)/wmtheme.1" >> spec-file-list echo "$(BINDIR)/wmtheme" >> spec-file-list echo "$(BINDIR)/wminstallfonts" >> spec-file-list if [ $(GCONF) ]; then \