File: Makefile.am

package info (click to toggle)
gif2png 2.2.5-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 360 kB
  • ctags: 288
  • sloc: sh: 1,684; ansic: 1,557; python: 244; makefile: 61
file content (19 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Process this file with automake to produce Makefile.in
bin_PROGRAMS = gif2png
bin_SCRIPTS = web2png
gif2png_SOURCES = 437_l1.c gif2png.c gifread.c memory.c version.c gif2png.h
man_MANS = gif2png.1 web2png.1
# The man pages and script are here because automake has a bug
EXTRA_DIST = Makefile Makefile.bcc Makefile.djgpp gif2png.spec.in gif2png.spec gif2png.1 web2png.1 web2png specgen.sh indexgen.sh lsmgen.sh

RPMROOT=/usr/src/redhat
rpm: dist
	specgen.sh	# Generate specfile
	cp @PACKAGE@-@VERSION@.tar.gz $(RPMROOT)/SOURCES;
	cp @PACKAGE@.spec $(RPMROOT)/SPECS
	cd $(RPMROOT)/SPECS; rpm -ba @PACKAGE@.spec	
	cp $(RPMROOT)/RPMS/`arch|sed 's/i[4-9]86/i386/'`/@PACKAGE@-@VERSION@*.rpm .
	cp $(RPMROOT)/SRPMS/@PACKAGE@-@VERSION@*.src.rpm .

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