"Fossies" - the Fresh Open Source Software Archive 
Member "sshexport-2.5/Makefile" (20 Sep 2021, 1437 Bytes) of package /linux/privat/sshexport-2.5.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 last
Fossies "Diffs" side-by-side code changes report for "Makefile":
2.3_vs_2.4.
1 # Makefile for the sshexport project
2
3 VERS=$(shell sed <sshexport -n -e '/version *= *\(.*\)/s//\1/p')
4
5 MANDIR=/usr/share/man/man1
6 BINDIR=/usr/bin
7
8 DOCS = README COPYING sshexport.xml
9 SOURCES = sshexport Makefile $(DOCS)
10
11 .PHONY: pylint dist clean release
12
13 all: sshexport-$(VERS).tar.gz
14
15 install: sshexport.1
16 cp sshexport $(BINDIR)
17 gzip <sshexport.1 >$(MANDIR)/sshexport.1.gz
18
19 sshexport.1: sshexport.xml
20 xmlto man sshexport.xml
21
22 sshexport.html: sshexport.xml
23 xmlto html-nochunks sshexport.xml
24
25 sshexport-$(VERS).tar.gz: $(SOURCES) sshexport.1
26 mkdir sshexport-$(VERS)
27 cp $(SOURCES) sshexport-$(VERS)
28 tar -czf sshexport-$(VERS).tar.gz sshexport-$(VERS)
29 rm -fr sshexport-$(VERS)
30 ls -l sshexport-$(VERS).tar.gz
31
32 PYLINTOPTS = --rcfile=/dev/null --reports=n \
33 --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \
34 --dummy-variables-rgx='^_'
35 SUPPRESSIONS = --disable=C0103,C0301,C0302,C0330,C1001,W0105,W0110,W0141,W0142,W0231,W0401,W0404,W0612,W0611,W0614,W0621,W0702,R0201,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,C0111
36 PY3K_SUPPRESSIONS = --disable="C0325,F0401,E1101"
37 pylint:
38 @pylint $(PYLINTOPTS) $(SUPPRESSIONS) $(PY3K_SUPPRESSIONS) sshexport
39
40
41 dist: sshexport-$(VERS).tar.gz
42
43 clean:
44 rm -f sshexport.1 sshexport.html
45 rm -f *.1 MANIFEST index.html
46
47 release: sshexport-$(VERS).tar.gz sshexport.html
48 shipper version=$(VERS) | sh -e -x
49
50 refresh: sshexport.html
51 shipper -N -w version=$(VERS) | sh -e -x