1 # -*- mode: Makefile -*-
2 ## Process this file with automake to produce Makefile.in
4 #SUBDIRS=spicefile utilities src scheme doc remote
5 SUBDIRS=spicefile utilities src scheme remote
7 EXTRA_DIST=autogen.sh gwave.spec TODO FAQ plotutils-2.4.1.patch
9 # distribute some extra directories that don't have anything to build
12 mkdir $(distdir)/examples
13 rsync -C -p examples/* $(distdir)/examples
14 mkdir $(distdir)/icons
15 rsync -C -p icons/* $(distdir)/icons
17 # build RPMs - but only on a redhat system
18 rpm: $(distdir).tar.gz
19 cp gwave.spec $(distdir).tar.gz /usr/src/redhat/SOURCES
20 cd /usr/src/redhat/SOURCES; rpmbuild -ba gwave.spec