aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-09 23:45:14 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-09 23:45:14 +0000
commit2ba5ff94833c9fee0fb2799e5440d8b235f9410e (patch)
tree85379762e9973622158d60340fc42bc4fa2eefe3 /Makefile
parentdb729a08c89d7d93483a9b4e880d4f3bef17d521 (diff)
downloadpandoc-2ba5ff94833c9fee0fb2799e5440d8b235f9410e.tar.gz
Include shell scripts themselves in repo, rather than generating from wrappers.
+ Removed wrappers directory + Removed wrappers Makefile target + Added hsmarkdown, html2markdown, and markdown2pdf git-svn-id: https://pandoc.googlecode.com/svn/trunk@1387 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index 5442e3364..305c8debc 100644
--- a/Makefile
+++ b/Makefile
@@ -93,33 +93,12 @@ all: build-program
%.1: %.1.md $(MAIN)
./$(MAIN) -s -S -w man $< >$@ || rm -f $@
-define generate-shell-script
-echo >&2 "Generating $@..."; \
-awk ' \
- /^[ \t]*###+ / { \
- lead = $$0; sub(/[^ \t].*$$/, "", lead); \
- t = "$(dir $<)/"$$2; \
- while (getline line < t > 0) \
- print lead line; \
- next; \
- } \
- { print } \
-' <$< >$@
-chmod +x $@
-endef
-
cleanup_files+=$(ODTREF)
$(ODTREF): $(addprefix $(ODTSTYLES)/, layout-cache meta.xml styles.xml content.xml mimetype \
settings.xml Configurations2 Thumbnails META-INF)
cd $(ODTSTYLES) ; \
zip -9 -q -r $(notdir $@) * -x $(notdir $@)
-.PHONY: wrappers
-wrappers: $(WRAPPERS)
-cleanup_files+=$(WRAPPERS)
-$(WRAPPERS): %: $(SRCDIR)/wrappers/%.in $(SRCDIR)/wrappers/*.sh
- @$(generate-shell-script)
-
.PHONY: configure
cleanup_files+=Setup.hi Setup.o $(BUILDCMD) $(BUILDVARS)
ifdef GHC_PKG