Change over to GNU build system - part 1
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1056 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
19
sql/Makefile.am
Normal file
19
sql/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
EXTRA_DIST = GNUMakefile
|
||||
|
||||
SUBDIRS = $(subdirs) src obs
|
||||
|
||||
doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README
|
||||
|
||||
rpms srcrpm: dist
|
||||
$(MAKE) -C obs $(AM_MAKEFLAGS) $@
|
||||
rpmarch=`rpm --showrc | grep ^build\ arch | sed 's/\(.*: \)\(.*\)/\2/'`; \
|
||||
test -z $$rpmarch || ( mv $$rpmarch/* .; rm -rf $$rpmarch )
|
||||
-rm -rf $(distdir)
|
||||
|
||||
dist-hook:
|
||||
-rm -rf `find $(distdir) -name .svn`
|
||||
|
||||
.PHONY: srcrpm rpms
|
||||
|
||||
Reference in New Issue
Block a user