From 1ba9113d7e0541658d90c02ac58198398c161256 Mon Sep 17 00:00:00 2001 From: roktas Date: Mon, 30 Oct 2006 12:15:02 +0000 Subject: Make debian/rules executable to avoid errors in 'distclean' target. git-svn-id: https://pandoc.googlecode.com/svn/trunk@45 788f1e2b-df1e-0410-8736-df70ead52e1b --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3cf5fc882..2479b55c6 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,10 @@ deb: debian .PHONY: distclean clean distclean: clean - if [ -d debian ]; then fakeroot debian/rules clean; fi + if [ -d debian ]; then \ + chmod +x debian/rules; fakeroot debian/rules clean; \ + fi + clean: -if [ -f $(BUILDCONF) ]; then $(BUILDCMD) clean; fi -rm -rf $(cleanup_files) -- cgit v1.2.3