annotate Makefile @ 0:a84c32f131df 1.1.29

Import vendor version
author Peter Gervai <grin@grin.hu>
date Wed, 15 Oct 2008 23:28:56 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
1
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
2 # version of the package
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
3 VERSION=1.1.29
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
4 # name of the tarball
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5 TARBALL = bins-$(VERSION).tar
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 # files to put in the tarball
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7 DIST = bins bins_edit bins-edit-gui bins-edit-gui.glade \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 install.sh binsrc tools/*_prefix tools/bins_cleanupgallery \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9 tools/anti_bins tools/bins_txt2xml tools/bins_addtext \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10 LICENSE README README.gui RELEASE.gui TODO ChangeLog CREDITS \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
11 doc/*.html doc/*.sgml doc/album.xml \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 doc/bins.1 doc/bins_edit.1 doc/bins-edit-gui.1 \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13 doc/bins_man.html doc/bins_edit_man.html doc/bins-edit-gui_man.html \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 templates*/*.html templates*/*.js templates*/*.txt \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15 templates*/static/*.* \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 bash_completion \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17 intl/*.po \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 intl/generate_mo.sh \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19 intl/fr.mo intl/pl.mo intl/de.mo intl/it.mo intl/ru.mo intl/es.mo \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 intl/zh_TW.mo intl/nl.mo intl/ja.mo intl/eo.mo intl/fi.mo intl/hu.mo \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21 intl/ca.mo intl/gui-fr.mo
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
23 # name of the dir in the tarball
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 DIR-DIST = bins-$(VERSION)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 # files to publish on the website
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 PUBLISHWWW = $(wildcard doc/*.html)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28 #PUBLISH = $(TARBALL).gz $(TARBALL).bz2 ChangeLog doc/index_fr.html doc/index.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30 # Files to put on donwload area
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31 PUBLISHFILE = $(TARBALL).gz $(TARBALL).gz.sig $(TARBALL).bz2 $(TARBALL).bz2.sig ChangeLog
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 # where to publish webfiles for plain website
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34 PUBLISH-DEST = $(HOME)/public_html/perso/BINS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36 # where to publish webfiles for plain gna
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 PUBLISHGNA-DEST = $(HOME)/src/gna/web/bins
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
38
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
39 # where to publish download files
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 PUBLISHFILE-DEST = $(HOME)/src/gna/bins-download
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43 PROC=SGML_CATALOG_FILES=/etc/sgml/catalog xsltproc --catalogs
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44 STYLEDIR=www/xsl
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46 # End of configuration
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 ########################################################################
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49 # File to publish on plain web site (not gna)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
50 PUBLISH = $(PUBLISHFILE) $(PUBLISHWWW)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52 PUBLISH-TMP = $(PUBLISH:doc/%=%)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
53 PUBLISH-TARGET = $(PUBLISH-TMP:%=$(PUBLISH-DEST)/%)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55 PUBLISHGNA-TMP = $(PUBLISHWWW:doc/%=%)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56 PUBLISHGNA-TARGET = $(PUBLISHGNA:%=$(PUBLISHGNA-DEST)/%)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58 PUBLISHFILE-TARGET = $(PUBLISHFILE:%=$(PUBLISHFILE-DEST)/%)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 .PHONY: all install tar publish filepublish wwwpublish upload test album demo famille clean cvs arch website
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
61
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
62 all:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
63 @echo "see README file to install bins"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
64 @echo "publish upload clean"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
65
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
66 install: .install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
67
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
68 .install: $(TARBALL).gz
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
69 rm -Rf /tmp/bins*
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
70 tar -C /tmp -xzvf $(TARBALL).gz
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
71 sudo mount -o rw,remount /usr
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
72 yes|sudo sh /tmp/$(DIR-DIST)/install.sh
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
73 sudo mount -o ro,remount /usr || true
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
74 touch .install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
75
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
76 tar: $(TARBALL).gz
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
77
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
78 #sudo cp /tmp/$(DIR-DIST)/intl/fr.mo /usr/local/share/locale/fr/LC_MESSAGES/bins.mo
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
79
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
80 publish: filepublish wwwpublish gnapublish
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
81
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
82 filepublish: $(PUBLISHFILE-TARGET)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
83
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
84 gnapublish: $(PUBLISHGNA-TARGET) www/xml/depends.tabular
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
85 cd www/xml && make publishgna
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
86
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
87 wwwpublish: $(PUBLISH-TARGET) www/xml/depends.tabular
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
88 cd www/xml && make publish
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
89
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
90 website: www/xml/depends.tabular
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
91 cd www/xml && make all
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
92
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
93 www/xml/depends.tabular:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
94 touch www/xml/depends.tabular
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
95
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
96 release: upload repo fileupload gnaupload
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
97
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
98 upload: publish
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
99 @if [ `hostname` != "ketama" ]; then\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
100 cp -afuv ~/public_html/perso/BINS/* ~/kashmir/public_html/perso/BINS ;\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
101 ssh kashmir 'PATH=$$PATH:~/bin update_www free' ;\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
102 ssh kashmir 'PATH=$$PATH:~/bin update_www libertysurf' ;\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
103 else\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
104 update_www tiscali ;\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
105 fi
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
106 # update_www free ;\
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
107
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
108 gnaupload: gnapublish
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
109 cd $(PUBLISHGNA-DEST) && cvs commit
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
110
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
111 fileupload: filepublish
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
112 cd $(PUBLISHFILE-DEST) && rsync --delete -avr --rsh="ssh" . zubro@download.gna.org:/upload/bins || true
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
113
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
114 test: install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
115 time bins -p ~/share/pics/test ~/public_html/test
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
116
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
117 album: install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
118 time nice -14 bins -p ~/share/pics/album ~/public_html/album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
119
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
120 demo:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
121 rsync --stats --progress -vac -e ssh ~/public_html/album/ kashmir:public_html/album/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
122 # time cp -afuv ~/public_html/album/.??* ~/public_html/album/* ~/kashmir/public_html/album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
123 # time rsync -avu ~/public_html/album/ ~/kashmir/public_html/album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
124
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
125 dormans: .install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
126 time nice -14 bins -p ~/share/pics/Dormans ~/kashmir/public_html/photos/Dormans
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
127
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
128 famille: .install
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
129 time nice -14 bins -p ~/share/pics/famille ~/kashmir/public_html/photos/famille
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
130
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
131 repo: cvs arch
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
132
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
133 cvs:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
134 rsync --stats --progress -vac -e ssh /home/jerome/share/cvs/ kashmir:/var/lib/cvs
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
135
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
136 arch:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
137 baz archive-mirror
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
138
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
139 backup_album:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
140 rsync --stats --progress -vac -e ssh /home/jerome/share/pics/album/ kashmir:share/pics/album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
141
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
142 clean:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
143 rm -f *~ *.old *.tar */*~ .install *.sign *.tar *.tar.bz2 *.tar.gz
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
144
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
145 #cp Makefile $(DIR-DIST)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
146 #cp bins $(DIR-DIST)/bins.src
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
147 $(TARBALL): $(DIST) Makefile
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
148 make website
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
149 rm -Rf bins-$(VERSION) || true
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
150 mkdir $(DIR-DIST)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
151 cp --parents $^ $(DIR-DIST)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
152 cp www/xml/*.html www/xml/*.xml $(DIR-DIST)/doc
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
153 $(HOME)/bin/change 1.1.29 $(VERSION) $(DIR-DIST)/*
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
154 tar \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
155 --exclude=*~ \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
156 --exclude=*.old \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
157 --exclude=*.bak \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
158 --exclude=\#* \
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
159 -cvf $(TARBALL) bins-$(VERSION)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
160 rm -Rf $(DIR-DIST)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
161
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
162
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
163 $(PUBLISH-DEST)/%.html : doc/%.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
164 cp $< $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
165
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
166 $(PUBLISH-DEST)/%: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
167 cp $< $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
168
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
169 $(PUBLISHGNA-DEST)/%.html : doc/%.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
170 cp $< $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
171
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
172 $(PUBLISHGNA-DEST)/%: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
173 cp $< $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
174
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
175 $(PUBLISHFILE-DEST)/%: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
176 cp $< $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
177
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
178 %.sig: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
179 gpg --yes --use-agent --detach-sign $<
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
180
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
181 %_man.html: %.sgml
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
182 docbook2html -o /tmp/$(notdir $@) $<
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
183 mv /tmp/$(notdir $@)/index.html $@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
184 rmdir /tmp/$(notdir $@)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
185
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
186 %.1: %.sgml
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
187 docbook-to-man $< >$@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
188
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
189 %.mo: %.po bins
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
190 ./intl/generate_mo.sh $<
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
191 # msgfmt -o $@ $<
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
192
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
193 %.gz: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
194 gzip -c --best $< >$@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
195
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
196 %.bz2: %
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
197 bzip2 -c $< >$@
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
198