File: Makefile.am

package info (click to toggle)
gwave 20031224-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,512 kB
  • ctags: 1,065
  • sloc: ansic: 8,029; lisp: 1,619; sh: 1,202; makefile: 170
file content (19 lines) | stat: -rw-r--r-- 609 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
# -*- mode: Makefile -*-
## Process this file with automake to produce Makefile.in

SUBDIRS=spicefile utilities src scheme doc remote

EXTRA_DIST=autogen.sh gwave.spec TODO plotutils-2.4.1.patch

# distribute some extra directories that don't have anything to build 
# or install in them
dist-hook:
	mkdir $(distdir)/examples
	rsync -C -p examples/* $(distdir)/examples
	mkdir $(distdir)/icons
	rsync -C -p icons/* $(distdir)/icons

# build RPMs - but only on a redhat system
rpm:	$(distdir).tar.gz
	cp gwave.spec $(distdir).tar.gz /usr/src/redhat/SOURCES
	cd /usr/src/redhat/SOURCES; rpmbuild -ba gwave.spec