File: Makefile.am

package info (click to toggle)
xnee 3.06-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,324 kB
  • ctags: 2,429
  • sloc: ansic: 21,992; sh: 12,427; makefile: 563
file content (67 lines) | stat: -rw-r--r-- 2,303 bytes parent folder | download | duplicates (2)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
SUBDIRS = ${LIB_DIR}  ${CLI_DIR} ${GUI_DIR} ${GNOME_APPLET_DIR} ${DOC_DIR} share examples sessions ${PIXMAP_DIR} man

AUTOMAKE_OPTIONS = gnu

EXTRA_DIST = Makefile.xnee Makefile.cvs autotools/* projects/test.xnp sessions/example1.xns README README.debian README.cvs BUGS FAQ EXAMPLES doc/Makefile.am doc/Makefile.in ChangeLog build/autobuild.sh




devel-doc:
	-rm -fr src-html/
	mkdir src-html/
	DATE="$(shell date)" && \
	grep AM_INIT_AUTOMAKE configure.in |  sed -e 's/AM_INIT_AUTOMAKE//g' -e 's/\,[a-zA-Z0-9\.]*//g' -e 's,[()]*,,g'  && \
	XNEE_NAME="$(shell grep AM_INIT_AUTOMAKE configure.in |  sed -e 's/AM_INIT_AUTOMAKE//g' -e 's/\,[a-zA-Z0-9\.]*//g' -e 's,[()]*,,g') " && \
	XNEE_VERSION="$(shell grep AM_INIT_AUTOMAKE configure.in |  sed -e 's/AM_INIT_AUTOMAKE//g' -e 's/[a-zA-Z0-9\.]*\,//g' -e 's,[()]*,,g') " && \
	echo "Date: \"$$DATE\"  $$XNEE_NAME  $$XNEE_VERSION  "  && \
	cat tmpl/header.html.tmpl | sed \
	-e "s,PRODUCT_TMPL,$$XNEE_NAME (libxnee),g"  \
	-e "s,PRODUCT_VERSION_TMPL,$$XNEE_VERSION,g"  \
	-e "s,PRODUCT_BUILD_TMPL,$$DATE,g"  \
	-e "s,GNU_WWW_TMPL,http://www\.gnu\.org,g"  \
	-e "s,XNEE_WWW_TMPL,http://www\.gnu\.org/software/xnee,g"  \
	> libxnee/src/header.html 
	cat tmpl/header.html.tmpl | sed \
	-e 's,PRODUCT_TMPL,$$XNEE_NAME (cnee),g'  \
	-e 's,PRODUCT_VERSION_TMPL,$$XNEE_VERSION,g'  \
	-e 's,PRODUCT_BUILD_TMPL,$$DATE,g'  \
	-e "s,GNU_WWW_TMPL,http://www\.gnu\.org,g"  \
	-e "s,XNEE_WWW_TMPL,http://www\.gnu\.org/software/xnee,g"  \
	> cnee/src/header.html && \
	mkdir -p src-html/libxnee/src
	mkdir -p src-html/libxnee/include/libxnee
	mkdir -p src-html/cnee/src
	cd libxnee/src/     && ${MAKE} devel-doc 
#	cd cnee/src/ && ${MAKE} src-html && cp *.html ../../src-html/cnee/src


manual: 
	cd ./doc/ && $(MAKE) all manual

man:
	cd ./cnee/src && make man
	cd pnee/man && make
	cd gnee/man && make

test:
	cd libxnee/test && make clean all test


check: all
	cd libxnee/test && make test
	cd cnee/test    && ./test_all.sh 

xcheck: all
	cd libxnee/test && make xtest
	cd cnee/test    && ./test_all.sh 

$(srcdir)/package.m4 : $(topdir)/configure.in
	:;{\
	echo '# ' && \
	echo 'm4_define([AT_PACKAGE_NAME],  [@PACKAGE_NAME@])' ; \
	} > '$$(srcdir)/package.m4'


autobuild:
	cd build && autobuild.sh