Add support for preloading lua modules. This is useful both when
providing lua bindings to applications based on librazor and when
producing static binaries using librazor (where otherwise the lua
POSIX library would need to be included as an additional dynamic
object).
1 ## Process this file with automake to produce Makefile.in
3 check_SCRIPTS = relocate named-root
8 relocate: relocate.sh primary.xml.gz
9 cp $(srcdir)/relocate.sh relocate
11 named-root: named-root.sh primary.xml.gz
12 cp $(srcdir)/named-root.sh named-root
14 lua: lua.sh primary.xml.gz
15 cp $(srcdir)/lua.sh lua
17 primary.xml.gz: zsh.spec zip.spec zap.spec filesystem.spec Makefile
18 rm -rf rpmbuild rpms repodata
19 mkdir -p rpmbuild/BUILD rpmbuild/RPMS
20 rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zap.spec
21 rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zip.spec
22 rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zsh.spec
23 rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/filesystem.spec
25 mv rpmbuild/RPMS/noarch/*.rpm rpms
28 cp repodata/primary.xml.gz repodata/filelists.xml.gz .
30 TESTS = $(check_SCRIPTS)