aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-31 18:40:47 +0000
committerroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-31 18:40:47 +0000
commitaeb250f28d58db77eb1fa0f41ab968c49360ff56 (patch)
tree246d67da8ec33daf3a450a84e007a0114a3b7168 /Makefile
parent2d128f7349a86610e308e6952cbd3b4e61b035ea (diff)
downloadpandoc-aeb250f28d58db77eb1fa0f41ab968c49360ff56.tar.gz
Revert all changes related to automatic ChangeLog creation.
+ Remove ChangeLog and gnuify-changelog.pl + Remove 'package' target in Makefile. Minor unrelated cosmetic changes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@52 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 2077d54db..302a2db0a 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ PKGPATH := $(DATAPATH)/$(THIS)
# Generic Makefile variables
#-------------------------------------------------------------------------------
INSTALL := install -c
-INSTALL_PROGRAM := $(INSTALL) -m 755
+INSTALL_PROGRAM := $(INSTALL) -m 755
INSTALL_DATA := $(INSTALL) -m 644
STRIP := strip
GHC := ghc
@@ -175,15 +175,18 @@ $(osx_dest): $(doc_more)
DESTDIR=$(osx_dest)/Package_root $(MAKE) install-program
find $(osx_dest) -type f -regex ".*bin/.*" | xargs chmod +x
find $(osx_dest) -type f -regex ".*bin/$(THIS)" | xargs $(STRIP)
- find $(osx_dest) -type f | xargs chgrp wheel
- find $(osx_dest) -type f | xargs chown root
+ find $(osx_dest) -type f | xargs chown root:wheel
$(INSTALL) -d $(osx_dest)/Resources
mv README.rtf $(osx_dest)/Resources/ReadMe.rtf
mv LICENSE.rtf $(osx_dest)/Resources/License.rtf
sed -e 's#@PREFIX@#$(PREFIX)#g' OSX-Welcome.rtf > $(osx_dest)/Resources/Welcome.rtf
sed -e 's/@VERSION@/$(VERSION)/g' Info.plist > $(osx_dest)/Info.plist
cp Description.plist $(osx_dest)/
- PackageMaker -build -p Pandoc_$(VERSION).pkg -f $(osx_dest)/Package_root -r $(osx_dest)/Resources -i $(osx_dest)/Info.plist -d $(osx_dest)/Description.plist
+ PackageMaker -build -p Pandoc_$(VERSION).pkg \
+ -f $(osx_dest)/Package_root \
+ -r $(osx_dest)/Resources \
+ -i $(osx_dest)/Info.plist \
+ -d $(osx_dest)/Description.plist
.PHONY: test test-markdown
test: $(BINS)
@@ -198,16 +201,6 @@ tags: $(src_all)
cd $(SRCDIR) && hasktags -c $(src_all:$(SRCDIR)/%=%); \
LC_ALL=C sort tags >tags.sorted; mv tags.sorted tags
-.PHONY: ChangeLog
-# should always attempt to update ChangeLog, hence .PHONY
-ChangeLog: gnuify-changelog.pl
- @echo "Updating ChangeLog file before packaging..."
- svn update ..
- svn log .. | sed 's/| (no author) |/| |/' | ./gnuify-changelog.pl >$@
- @if [ -n "$$(svn status $@))" ]; then \
- echo "*** ChangeLog modified, please commit changes! ***"; \
- fi
-
deb: debian
[ -x /usr/bin/fakeroot ] || { \
echo "*** Please install fakeroot package. ***"; \
@@ -225,9 +218,6 @@ deb: debian
dpkg-buildpackage -rfakeroot -uc -us -i.svn -I.svn -i_darcs -I_darcs; \
fi
-.PHONY:
-package: ChangeLog deb
-
.PHONY: distclean clean
distclean: clean
if [ -d debian ]; then \