Makefile.am
上传用户:sorock1981
上传日期:2007-01-06
资源大小:73k
文件大小:1k
- ## 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)