File: Makefile.am

package info (click to toggle)
gwave 20190116-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,588 kB
  • sloc: ansic: 9,361; sh: 4,183; lisp: 1,226; makefile: 104; perl: 91
file content (20 lines) | stat: -rw-r--r-- 660 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: Makefile -*-
## Process this file with automake to produce Makefile.in

#SUBDIRS=spicefile utilities src scheme doc remote
SUBDIRS=spicefile utilities src scheme remote

EXTRA_DIST=autogen.sh gwave.spec TODO FAQ 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