summaryrefslogtreecommitdiffstats
path: root/mak
diff options
context:
space:
mode:
authordenise.eckstein <denise.eckstein>2005-04-08 05:45:59 +0000
committerdenise.eckstein <denise.eckstein>2005-04-08 05:45:59 +0000
commit8b6c73bf8d71c2334bde980283dba89b0d419b83 (patch)
tree159ac0c2b62d96fc079c27ab6f20fcf95983bbe4 /mak
parent5d6f14bcf0d19bd7b6f735a67a981f3946135254 (diff)
downloadtog-pegasus-8b6c73bf8d71c2334bde980283dba89b0d419b83.zip
tog-pegasus-8b6c73bf8d71c2334bde980283dba89b0d419b83.tar.gz
tog-pegasus-8b6c73bf8d71c2334bde980283dba89b0d419b83.tar.xz
BUG#: 3086
TITLE: Need automated mechanism to generate tog-pegasus.spec DESCRIPTION: Added defines for pseries. Added PEGASUS_EXTRA_C_FLAGS for s390, s390x and zseries. Fixed uninstall cleanup problems. Added missing install_initd command to post install section.
Diffstat (limited to 'mak')
-rw-r--r--mak/SDKMakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mak/SDKMakefile b/mak/SDKMakefile
index 25d8a63..e81f361 100644
--- a/mak/SDKMakefile
+++ b/mak/SDKMakefile
@@ -236,6 +236,11 @@ stageHTML:
@$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_HTML_DIR)
@$(MAKE) --directory=$(PEGASUS_ROOT)/doc/SDK -f Makefile PEGASUS_HTML_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_HTML_DIR) buildDoc_ContinueOnError
+_append_preunSectionToSpecFile:
+ @$(ECHO-E) "%preun sdk" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "make --directory $(PEGASUS_SAMPLES_DIR) -s clean" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+
_append_filesSectionToSpecFile:
@$(ECHO-E) "%files sdk" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)