From 55b01917092dd442e4d07315ae174ec2ad6e23ce Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 21 Oct 2010 21:33:52 -0400 Subject: [PATCH] Prepare for shipping. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28ad0a9..ac143f3 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,12 @@ showkey: showkey.c showkey.1: showkey.xml xmlto man showkey.xml +showkey.html: showkey.xml + xmlto html-nochunks showkey.xml + clean: rm -f showkey showkey.o splashscreen.h showkey.1 *.rpm *.tar.gz + rm -f MANIFEST SHIPPER.* install: showkey.1 cp showkey /usr/bin/showkey @@ -24,8 +28,10 @@ SOURCES = README COPYING Makefile showkey.c showkey.xml showkey.spec showkey-$(VERS).tar.gz: $(SOURCES) showkey.1 @ls $(SOURCES) showkey.1 | sed s:^:showkey-$(VERS)/: >MANIFEST @(cd ..; ln -s showkey showkey-$(VERS)) - (cd ..; tar -czvf showkey/showkey-$(VERS).tar.gz `cat showkey/MANIFEST`) + (cd ..; tar -czf showkey/showkey-$(VERS).tar.gz `cat showkey/MANIFEST`) @(cd ..; rm showkey-$(VERS)) dist: showkey-$(VERS).tar.gz +release: showkey-$(VERS).tar.gz + shipper -u -m -t; make clean -- 2.43.0