test/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Aug 23 11:13:48 2014 +0100 (2014-08-23)
changeset 440 48204dea0b9f
parent 387 ef9237601f24
child 444 a2908416b7cc
permissions -rw-r--r--
Remove INTLLIBS from librazor_la_LIBADD.

This partially reverts 611c84a3f4b4538a65d186050608c17adbf17770.
It's not clear what motivated the initial inclusion of INTLLIBS
here since the net effect is only seen in librazor.la and not
in razor.pc and librazor.la is not normally packaged. Certainly
neither the static nor the dynamic versions of librazor currently
use libintl. At best this would cause the linker to search a
static libintl for undefined symbols without finding any; at worse
it causes a static build of plover using librazor.la to fail if
no static version of libintl is installed.
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 check_SCRIPTS = relocate named-root remove update details
     4 if HAVE_LUA
     5   check_SCRIPTS += lua mult-install
     6 endif
     7 check_SCRIPTS += order
     8 
     9 relocate:	relocate.sh primary.xml.gz
    10 	cp $(srcdir)/relocate.sh relocate
    11 
    12 named-root:	named-root.sh primary.xml.gz
    13 	cp $(srcdir)/named-root.sh named-root
    14 
    15 remove:	remove.sh primary.xml.gz
    16 	cp $(srcdir)/remove.sh remove
    17 
    18 update:	update.sh base/repodata/primary.xml.gz updates/repodata/primary.xml.gz
    19 	cp $(srcdir)/update.sh update
    20 
    21 details:	details.sh primary.xml.gz
    22 	cp $(srcdir)/details.sh details
    23 
    24 order:	order.sh primary.xml.gz
    25 	cp $(srcdir)/order.sh order
    26 
    27 lua:	lua.sh primary.xml.gz
    28 	cp $(srcdir)/lua.sh lua
    29 
    30 mult-install:	mult-install.sh primary.xml.gz
    31 	cp $(srcdir)/mult-install.sh mult-install
    32 
    33 base/repodata/primary.xml.gz:	zsh.spec zsh2.spec zip.spec zap.spec \
    34 		filesystem.spec Makefile
    35 	rm -rf rpmbuild base
    36 	mkdir -p rpmbuild/BUILD rpmbuild/RPMS
    37 	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zap.spec
    38 	rpmbuild --define "_topdir `pwd`/rpmbuild" --define "_version 1" \
    39 	  -bb $(srcdir)/zip.spec
    40 	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zsh.spec
    41 	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zsh2.spec
    42 	rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/filesystem.spec
    43 	mkdir -p base/rpms
    44 	mv rpmbuild/RPMS/noarch/*.rpm base/rpms
    45 	rm -rf rpmbuild
    46 	createrepo -o base base/rpms
    47 
    48 updates/repodata/primary.xml.gz:	zip.spec Makefile
    49 	rm -rf rpmbuild updates
    50 	mkdir -p rpmbuild/BUILD rpmbuild/RPMS
    51 	rpmbuild --define "_topdir `pwd`/rpmbuild" --define "_version 2" \
    52 	  -bb $(srcdir)/zip.spec
    53 	mkdir -p updates/rpms
    54 	mv rpmbuild/RPMS/noarch/*.rpm updates/rpms
    55 	rm -rf rpmbuild
    56 	createrepo -o updates updates/rpms
    57 
    58 primary.xml.gz:	base/repodata/primary.xml.gz
    59 	cp base/repodata/primary.xml.gz base/repodata/filelists.xml.gz .
    60 	rm -rf rpms
    61 	ln -s base/rpms .
    62 
    63 TESTS = $(check_SCRIPTS)
    64 
    65 EXTRA_DIST = 			\
    66 	zap.spec		\
    67 	zip.spec		\
    68 	zsh.spec		\
    69 	zsh2.spec		\
    70 	filesystem.spec		\
    71 	order.sh		\
    72 	mult-install.sh		\
    73 	lua.sh			\
    74 	remove.sh		\
    75 	update.sh		\
    76 	details.sh		\
    77 	details.ref		\
    78 	named-root.sh		\
    79 	relocate.sh
    80 
    81 MOSTLYCLEANFILES =		\
    82 	primary.xml.gz		\
    83 	filelists.xml.gz	\
    84 	$(check_SCRIPTS)	\
    85 	details.out		\
    86 	rawhide.rzdb
    87 
    88 clean-local :
    89 	rm -f *~
    90 	rm -rf repodata rpms base updates