aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-04-20 19:29:30 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-04-20 19:29:30 +0000
commitd40dab09ba602c1b08aac08495f825058c26e321 (patch)
treed267ecaf7f2f955897b1ec0a0e408f6ac0acba0c /src/Makefile
parent7cd05b634be1c5cb0d23f4e264871106dcd60c5c (diff)
downloadsos-d40dab09ba602c1b08aac08495f825058c26e321.tar.gz
Fixed a problem with installation of man page. rpmbuild compresses
the man page, which changed the file name and caused a failure. Now we just compress it first and deliver it that way. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@124 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 51efce99..3581d84e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -23,7 +23,11 @@ else
@svn update ../../tags
endif
-tarball: clean
+# if we don't compress them, rpmbuild does, and this breaks things
+manpages: sosreport.1
+ @gzip -c sosreport.1 > sosreport.1.gz
+
+tarball: clean manpages
@echo "Creating an archive from HEAD of development"
@rm -rf /tmp/$(NAME)
@svn export -q $(REPO)/trunk/src /tmp/$(NAME) \
@@ -36,7 +40,7 @@ tarball: clean
@echo " "
@echo "The final archive is ./$(NAME)-$(VERSION).tar.bz2."
-release: clean tag-release
+release: clean tag-release manpages
ifeq ($(strip $(SVN_TAG_CONTENTS)), Makefile)
@echo "Creating an archive from tag $(SVNTAG)"
@rm -rf /tmp/$(NAME)
@@ -60,4 +64,4 @@ version:
@echo "The version is $(NAME)-$(VERSION)"
clean:
- @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION).tar.bz2
+ @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION).tar.bz2 sosreport.1.gz