File: Makefile.am

package info (click to toggle)
sng 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 616 kB
  • sloc: ansic: 2,725; sh: 1,355; xml: 287; makefile: 23
file content (27 lines) | stat: -rw-r--r-- 774 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
## Process this file with automake to produce Makefile.in
bin_PROGRAMS = sng
#bin_SCRIPTS = sng_regress
sng_SOURCES = main.c sngc.c sngd.c sng.h
man_MANS = sng.1
# The man pages and script are here because automake has a bug
EXTRA_DIST = Makefile sng.xml sng.1 sng_regress test.sng 
EXTRA_DIST += snglogo.png control
EXTRA_CLEAN = sng.html

sng.1: sng.xml
	xmlto man sng.xml

sng.html: sng.xml
	xmlto html-nochunks sng.xml

zip: $(DISTFILES)
	zip @PACKAGE@-@VERSION@.zip $(DISTFILES)

# Regression-test sng.  Passes if no differences show up.
# Assumes we have a copy of Willem van Schaik's PNG test suite under pngsuite
check:
	@./sng_regress test.sng -s pngsuite/[a-wyz]*.png
	@echo "No output is good news."

release: dist sng.html
	shipper version=$(VERSION) | sh -e -x