File: Makefile.am

package info (click to toggle)
libforms 1.0.93sp1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,548 kB
  • ctags: 9,107
  • sloc: ansic: 97,227; sh: 9,236; makefile: 858
file content (43 lines) | stat: -rw-r--r-- 836 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
include $(top_srcdir)/config/common.am

DISTCLEANFILES += xforms.spec config.status config.cache config.log config.h

MAINTAINERCLEANFILES += \
	$(srcdir)/aclocal.m4 \
	$(srcdir)/configure \
	$(srcdir)/acinclude.m4 \
	$(srcdir)/config.h.in

if BUILD_DEMOS
DEMOS = demos
else
DEMOS =
endif

if BUILD_GL
GL = gl
else
GL =
endif

if BUILD_DOCS
DOCS = doc
else
DOCS =
endif

SUBDIRS = config lib image $(GL) fdesign fd2ps $(DEMOS) $(DOCS)

# xforms.spec is needed as well as xforms.spec.in or else 'make rpmdist'
# will fail.
EXTRA_DIST = ChangeLog COPYING.LIB Copyright INSTALL README README.OS2 \
	autogen.sh xforms.spec.in xforms.spec

rpmdist: dist
	if [ -z "`type -path rpmbuild`" ]; \
	then \
		RPMBUILD=rpm; \
	else \
		RPMBUILD=rpmbuild; \
	fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
	exit $$saved_status