# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2003-2005 The Trustees of Princeton University
#
-# $Id$
+# $Id: Makerules,v 1.16 2005/09/01 18:58:45 mlhuang Exp $
#
# Base cvsps and rpmbuild in the current directory
# Define date for untagged builds
echo "%define date $(DATE)" >> $@
endif
+ echo "%define pldistro $(PLDISTRO)" >> $@
# Rewrite patch sections of spec file
perl -n -e ' \
next if /^Patch.*/; \
# Build
#
+RPMFLAGS += --define "pldistro $(PLDISTRO)"
ifeq ($(TAG),HEAD)
RPMFLAGS += --define "date $(DATE)"
endif