"Fossies" - the Fresh Open Source Software Archive

Member "showkey-1.8/Makefile" (27 Jan 2017, 998 Bytes) of package /linux/misc/showkey-1.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 1.7_vs_1.8.

    1 # showkey -- keystroke echoer
    2 
    3 VERS=1.8
    4 
    5 showkey: showkey.c
    6 	$(CC) -DREVISION=$(VERS) showkey.c -o showkey
    7 
    8 showkey.1: showkey.xml
    9 	xmlto man showkey.xml 
   10 
   11 showkey.html: showkey.xml
   12 	xmlto html-nochunks showkey.xml 
   13 
   14 clean:
   15 	rm -f showkey showkey.o showkey.1 *.tar.gz
   16 	rm -f MANIFEST
   17 
   18 splint:	
   19 	splint +posixlib +charintliteral +charint showkey.c
   20 
   21 install: showkey.1
   22 	cp showkey /usr/bin/showkey
   23 	cp showkey.1 /usr/share/man/man1
   24 
   25 uninstall:
   26 	rm /usr/bin/showkey
   27 	rm /usr/share/man/man1/showkey.1
   28 
   29 SOURCES = README COPYING NEWS control Makefile showkey.c showkey.xml
   30 
   31 showkey-$(VERS).tar.gz: $(SOURCES) showkey.1
   32 	@ls $(SOURCES) showkey.1 | sed s:^:showkey-$(VERS)/: >MANIFEST
   33 	@(cd ..; ln -s showkey showkey-$(VERS))
   34 	(cd ..; tar -czf showkey/showkey-$(VERS).tar.gz `cat showkey/MANIFEST`)
   35 	@(cd ..; rm showkey-$(VERS))
   36 
   37 dist: showkey-$(VERS).tar.gz
   38 
   39 release: showkey-$(VERS).tar.gz showkey.html
   40 	shipper version=$(VERS) | sh -e -x
   41 
   42 refresh: showkey.html
   43 	shipper -N -w version=$(VERS) | sh -e -x