test/Makefile.am
changeset 357 39f8dab73084
parent 351 48b0adfe3059
child 359 c9c90315ea24
     1.1 --- a/test/Makefile.am	Thu Jan 22 22:54:45 2009 +0000
     1.2 +++ b/test/Makefile.am	Fri Apr 17 21:09:55 2009 +0100
     1.3 @@ -1,16 +1,23 @@
     1.4  ## Process this file with automake to produce Makefile.in
     1.5  
     1.6  check_SCRIPTS = relocate
     1.7 +if HAVE_LUA
     1.8 +  check_SCRIPTS += lua
     1.9 +endif
    1.10  
    1.11  relocate:	relocate.sh primary.xml.gz
    1.12  	cp $(srcdir)/relocate.sh relocate
    1.13  
    1.14 -primary.xml.gz:	zsh.spec zip.spec zap.spec Makefile
    1.15 +lua:	lua.sh primary.xml.gz
    1.16 +	cp $(srcdir)/lua.sh lua
    1.17 +
    1.18 +primary.xml.gz:	zsh.spec zip.spec zap.spec filesystem.spec Makefile
    1.19  	rm -rf rpmbuild rpms repodata
    1.20  	mkdir -p rpmbuild/BUILD rpmbuild/RPMS
    1.21  	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zap.spec
    1.22  	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zip.spec
    1.23  	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zsh.spec
    1.24 +	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/filesystem.spec
    1.25  	mkdir rpms
    1.26  	mv rpmbuild/RPMS/noarch/*.rpm rpms
    1.27  	rm -rf rpmbuild
    1.28 @@ -23,6 +30,8 @@
    1.29  	zap.spec		\
    1.30  	zip.spec		\
    1.31  	zsh.spec		\
    1.32 +	filesystem.spec		\
    1.33 +	lua.sh			\
    1.34  	relocate.sh
    1.35  
    1.36  clean-local :