File: Makefile.am

package info (click to toggle)
gb 0.0.20-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,844 kB
  • ctags: 2,897
  • sloc: ansic: 22,647; sh: 8,990; yacc: 634; makefile: 431; sed: 93
file content (35 lines) | stat: -rw-r--r-- 722 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
#
# The Gnome Basic Makefile.
# 
# Author:
#	Jody Goldberg <jgoldberg@home.com>
#	Michael Meeks <michael@imaginator.com>
# 

SUBDIRS = gb gbrun test docs po intl

EXTRA_DIST = \
	README README.CVS FAQ TODO


confexecdir = $(libdir)
confexec_DATA = gbConf.sh

EXTRA_DIST = gbConf.sh.in gb.spec
CLEANFILES += gbConf.sh
gbConf.sh: gbConf.sh.in Makefile
	sed -e 's?\@GB_LIBDIR\@?$(GB_LIBDIR)?g' \
	    -e 's?\@GB_INCLUDEDIR\@?$(GB_INCLUDEDIR)?g' \
	    -e 's?\@VERSION\@?$(VERSION)?g' \
	    -e 's?\@GB_LIBS\@?$(GB_LIBS)?g' \
	      < $(srcdir)/gbConf.sh.in > gbConf.tmp \
	  && mv gbConf.tmp gbConf.sh

.PHONY: test

test: all
	cd test ; ./gb test.vbp | diff -u test.output -

testok:
	cd test ; ./gb test.vbp > test.output