Skip to content

Commit

Permalink
added 'rpm' target.
Browse files Browse the repository at this point in the history
  • Loading branch information
dancy committed Aug 27, 2006
1 parent 2fa3d79 commit 6fbe21d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion makefile
Expand Up @@ -5,7 +5,7 @@
# (http://opensource.franz.com/preamble.html),
# known as the LLGPL.
#
# $Id: makefile,v 1.26 2006/02/22 17:35:21 dancy Exp $
# $Id: makefile,v 1.27 2006/08/27 17:59:48 dancy Exp $
#
# This makefile requires GNU make.

Expand Down Expand Up @@ -109,4 +109,14 @@ install: install-common
cp -p rc.aftpd.sh /usr/local/etc/rc.d/rc.aftpd.sh
endif

rpm: src
mkdir -p BUILD RPMS SRPMS
rpmbuild \
--define "_sourcedir $(CURDIR)" \
--define "_topdir $(CURDIR)" \
--define "_builddir $(CURDIR)/BUILD" \
--define "_rpmdir $(CURDIR)/RPMS" \
--define "_srcrpmdir $(CURDIR)/SRPMS" \
-bb aftpd.spec

FORCE:

0 comments on commit 6fbe21d

Please sign in to comment.