1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-08 03:15:48 +01:00

Temporary fix for "Sanitize Makefile.doc" (1e4369cb40de23bd912bb7b5175c6cfae4e665c2)

More elegant fix to come, but something was needed so that "make xpi"
could build.
This commit is contained in:
Ted Pavlic
2009-01-21 10:41:42 -05:00
parent 9ad451b7f7
commit f381a86bf7
2 changed files with 11 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ XPI_BINS = jar
XPI_NAME = $(NAME)_$(VERSION)
XPI_PATH = ../downloads/$(XPI_NAME)
XPI = $(XPI_PATH).xpi
XPI = $(XPI_PATH).xpi
RDF = ../downloads/update.rdf
RDF_IN = $(RDF).in
@@ -44,7 +44,7 @@ $(TARGETS:%=\%.%):
echo MAKE $* $(@:$*.%=%)
$(MAKE) -C $* $(@:$*.%=%)
$(TARGETS): %: $(LOCALES:%=%.%)
#$(TARGETS): %: $(LOCALES:%=%.%)
.PHONY: $(TARGETS)
all: help
@@ -82,11 +82,13 @@ $(RDF): $(RDF_IN) Makefile
@echo "SUCCESS: $@"
clean:
@echo "Cleanup..."
@echo "General $(NAME) cleanup..."
@set -e; for locale in $(LOCALES); do $(MAKE) -C $$locale clean; done
rm -f $(JAR) $(XPI)
distclean: clean $(LOCALES:%=%.distclean)
@echo "More cleanup..."
distclean: clean
@echo "More $(NAME) cleanup..."
@set -e; for locale in $(LOCALES); do $(MAKE) -C $$locale distclean; done
rm -rf $(BUILD_DIR)
#### xpi
@@ -107,5 +109,5 @@ $(JAR): doc
#### doc (see Makefile.doc)
doc: $(LOCALES:%=%.doc) ;
doc:
@set -e; for locale in $(LOCALES); do $(MAKE) -C $$locale doc; done

View File

@@ -32,10 +32,10 @@ help:
@echo " make distclean - clean up more"
clean:
@echo "Cleanup..."
@echo " Cleanup of $(LOCALE) documentation..."
distclean: clean
@echo "More cleanup..."
@echo " More cleanup of $(LOCALE) documentation..."
rm -f $(DOC_FILES)
#### Makes single-file makes easier to type