File: Makefile.am

package info (click to toggle)
zipios%2B%2B 0.1.5.9%2Bcvs.2007.04.28-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,308 kB
  • ctags: 1,044
  • sloc: sh: 8,790; cpp: 4,150; ansic: 135; makefile: 132
file content (49 lines) | stat: -rw-r--r-- 1,445 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

EXTRA_DIST = doxyfile doc/images win32 zipios++.spec.in
SUBDIRS = zipios++ src tests

DOCTOOL = doxygen
DOCCONF = doxyfile

.PHONY : ChangeLog
ChangeLog :
	cvs2cl --prune --separate-header --global-opts -z3

.PHONY : doc
doc :
	convert doc/images/zipios++.jpg doc/images/zipios++.eps
	$(DOCTOOL) $(DOCCONF)

.PHONY : devdoc
devdoc :
	$(DOCTOOL) $(DOCCONF)

#  The first perl one-liner changes the robots meta tag so search
#  engines will index the first page. The second provides a list of
#  keywords that are relevant, so the search engine will list this
#  page if someone types in these keywords.

.PHONY : webdoc
webdoc : doc
	$(MAKE) -C doc/latex pdf
#	$(MAKE) -C doc/latex ps
	mv doc/latex/refman.pdf doc/html/
#	mv doc/latex/refman.ps doc/html/
	cp doc/images/webgfx.gif doc/html/
	perl -p -i -e 's/content\=\"noindex\"/content\=\"index\,nofollow\"/gi' doc/html/index.html
	perl -p -i -e 's/\<meta name\=\"robots\"/\<meta name\=\"Keywords\" content\=\"Zip\, C++\, iostream\, library\, API\, decompression, VFS\, source\"\> \<meta name\=\"robots\"/gi' doc/html/index.html


#  A quick and dirty target to make everything that goes on the web
#  site.  cp doc/images/webgfx.gif must be copied manually, as doxygen
#  is too stupid to copy it from in from the images directory, because
#  it doesn't use a doxygen tag to reference the image.

.PHONY : web
web : webdoc dist
	echo


.PHONY : rpm
rpm :  dist
	rpmbuild -ta zipios++*.tar.gz