Skip to content
Snippets Groups Projects
Commit 2479d8ae authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

Fix targets used from the main git repo

parent fcb77720
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ endef ...@@ -46,7 +46,7 @@ endef
.PHONY: $(TARGETS) .PHONY: $(TARGETS)
man all html : po4a-stamp man all html doc-l10n : po4a-stamp
$(foreach lang,$(ALL_LANGUAGES),$(foreach target, $(TARGETS), $(eval $(call MAKE_TARGET,$(target),$(lang))))) $(foreach lang,$(ALL_LANGUAGES),$(foreach target, $(TARGETS), $(eval $(call MAKE_TARGET,$(target),$(lang)))))
......
...@@ -4,7 +4,7 @@ MAN_FILTER = $(wildcard git-*.txt) ...@@ -4,7 +4,7 @@ MAN_FILTER = $(wildcard git-*.txt)
HTML_FILTER = $(patsubst %.txt,%.html,$(MAN_FILTER)) HTML_FILTER = $(patsubst %.txt,%.html,$(MAN_FILTER))
ifeq ($(wildcard ../../build-docdep.perl),../../buid-docdep.perl) ifeq ($(wildcard ../../build-docdep.perl),../../build-docdep.perl)
vpath %conf . .. ../.. vpath %conf . .. ../..
vpath %in . .. ../.. vpath %in . .. ../..
...@@ -22,13 +22,15 @@ include ../../Makefile ...@@ -22,13 +22,15 @@ include ../../Makefile
ASCIIDOC_EXTRA += -I../.. ASCIIDOC_EXTRA += -I../..
XMLTO_EXTRA += --searchpath ../.. XMLTO_EXTRA += --searchpath ../..
doc-l10n: all
install-l10n: install-l10n:
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
$(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
$(INSTALL) -d -m 755 $(DESTDIR)$(man7dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
[ ! -z $(DOC_MAN1) ] && $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir) if [ ! -z "$(DOC_MAN1)" ]; then $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir); fi
[ ! -z $(DOC_MAN5) ] && $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir) if [ ! -z "$(DOC_MAN5)" ]; then $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir); fi
[ ! -z $(DOC_MAN7) ] && $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir) if [ ! -z "$(DOC_MAN7)" ]; then $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir); fi
else else
...@@ -49,9 +51,10 @@ html: $(HTML_FILTER) ...@@ -49,9 +51,10 @@ html: $(HTML_FILTER)
all doc-l10n: man html all doc-l10n: man html
endif
clean: clean:
rm -f *.1 *.html rm -f *.1 *.html
mrproper: clean mrproper: clean
rm -f *.txt rm -f *.txt
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment