NUR/pkgs/metapixel/no-docbook.patch

36 lines
1.1 KiB
Diff
Raw Normal View History

2021-01-16 17:32:54 +01:00
diff --git a/Makefile b/Makefile
index 84c9373..53fa926 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX = /usr/local
+PREFIX = $(out)
INSTALL = install
MANPAGE_XSL = /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
@@ -33,8 +33,8 @@ all : metapixel convert metapixel-imagesize
metapixel : $(OBJS) librwimg
$(CC) $(LDOPTS) -o metapixel $(OBJS) rwimg/librwimg.a -lpng -ljpeg -lgif $(LIBFFM) -lm -lz
-metapixel.1 : metapixel.xml
- xsltproc --nonet $(MANPAGE_XSL) metapixel.xml
+#metapixel.1 : metapixel.xml
+# xsltproc --nonet $(MANPAGE_XSL) metapixel.xml
convert : $(CONVERT_OBJS)
$(CC) $(LDOPTS) -o convert $(CONVERT_OBJS)
@@ -51,11 +51,11 @@ zoom : zoom.c librwimg
librwimg :
$(MAKE) CFLAGS="$(RWIMG_CFLAGS)" -C rwimg
-install : metapixel metapixel.1
+install : metapixel #metapixel.1
$(INSTALL) -d $(BINDIR)
$(INSTALL) metapixel $(BINDIR)
$(INSTALL) metapixel-prepare $(BINDIR)
- $(INSTALL) metapixel.1 $(MANDIR)/man1
+# $(INSTALL) metapixel.1 $(MANDIR)/man1
$(INSTALL) metapixel-imagesize $(BINDIR)
$(INSTALL) metapixel-sizesort $(BINDIR)