rpmbuild should work now; refs #2
This commit is contained in:
11
makefile.am
11
makefile.am
@@ -13,7 +13,7 @@
|
||||
|
||||
SUBDIRS = @SRC_DIR@ @TST_DIR@ @DOC_DIR@
|
||||
|
||||
nobase_include_HEADERS =
|
||||
doc_DATA = AUTHORS COPYING ChangeLog NEWS README INSTALL
|
||||
|
||||
EXTRA_DIST = bootstrap.sh debian
|
||||
|
||||
@@ -37,9 +37,10 @@ RPMS = /usr/src/packages/RPMS/i586/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@-1.i586.
|
||||
release: tag webserver
|
||||
|
||||
rpm: dist
|
||||
cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
|
||||
/usr/src/packages/SOURCES/
|
||||
rpmbuild -ba --clean @PACKAGENAME@.spec
|
||||
rpmbuild -ba \
|
||||
--define "_topdir $$(pwd)" \
|
||||
--define "_sourcedir $$(pwd)" \
|
||||
@PACKAGENAME@.spec
|
||||
|
||||
deps = ${top_srcdir}/COPYING ${top_srcdir}/README ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
|
||||
|
||||
@@ -59,4 +60,4 @@ distclean-local:
|
||||
- rm -r autom4te.cache
|
||||
- rm aclocal.m4 config.guess config.sub configure \
|
||||
depcomp install-sh ltmain.sh makefile makefile.in \
|
||||
missing mkinstalldirs
|
||||
missing mkinstalldirs SPECS RPMS BUILD BUILDROOT SRPMS
|
||||
|
Reference in New Issue
Block a user