File: Makefile.am

package info (click to toggle)
gnochm 0.9.8-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,808 kB
  • ctags: 102
  • sloc: sh: 8,435; xml: 1,031; makefile: 124; ansic: 92
file content (46 lines) | stat: -rw-r--r-- 1,012 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
#  no compile and link, so omit these macros
#bin_PROGRAMS=gnochm
#gnochm_SOURCES=

SUBDIRS = pixmaps glade po help data

#  this gets installed
bin_SCRIPTS=gnochm

#  list sources here instead of using the gnochm_SOURCES macro
EXTRA_DIST= \
	AUTHORS \
	NEWS \
	README \
	ABOUT-NLS \
	ChangeLog \
	autogen.sh \
	aclocal.m4 \
	config.rpath \
	gnochm.lsm.in \
	gnochm.spec \
	gnochm.spec.in \
	gnochm.py.in \
	omf.make \
	xmldocs.make \
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in


gnochm: gnochm.py
	rm -f $@
	cp $< $@
	chmod +x $@

rpm: gnochm.spec dist
	test -d rpm || mkdir rpm
	test -d rpm/SOURCES || mkdir rpm/SOURCES
	test -d rpm/SRPMS || mkdir rpm/SRPMS
	test -d rpm/BUILD || mkdir rpm/BUILD
	test -d rpm/SPECS || mkdir rpm/SPECS
	test -d rpm/RPMS || mkdir rpm/RPMS
	cp $(distdir).tar.gz rpm/SOURCES
	here=`pwd` && rpmbuild -ba --define "fc2 1" --define "_topdir $$here/rpm" --clean gnochm.spec

CLEANFILES=*~ *.bak pixmaps/*.bak pixmaps/*~ glade/*~ glade/*.bak gnochm gnochm.py po/*~