diff --git a/Makefile b/Makefile index 394096717d53fdc5af1752398ce0bbca0c20df08..755db2678c82577ccbf83e6c51cc6ff27ff46dd9 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ EN_SOURCES = $(wildcard en/*.txt) LANGUAGE_PO = $(wildcard po/*.po) ALL_LANGUAGES = $(subst po/documentation.,,$(subst .po,,$(LANGUAGE_PO))) -L10N_BUILD_TARGETS = all man html install doc-l10n install-l10n +L10N_BUILD_TARGETS = all man html install doc-l10n install-l10n install-txt L10N_CLEAN_TARGETS = clean mrproper L10N_TARGETS = $(L10N_CLEAN_TARGETS) $(L10N_BUILD_TARGETS) diff --git a/makefile.locale b/makefile.locale index 5578a5eb4e0be5d464e5a0d667c142aa1a758251..b6ac09027fee59b2af4beba7e6ea94eb1ae287ab 100644 --- a/makefile.locale +++ b/makefile.locale @@ -13,7 +13,7 @@ vpath %rb . .. ../.. ifdef mandir tmp_mandir := $(mandir) -mandir = $(temp_mandir)/$(lang) +mandir = $(tmp_mandir)/$(lang) else mandir = $(prefix)/share/man/$(lang) endif @@ -55,6 +55,10 @@ html: $(HTML_FILTER) all doc-l10n: man html +install-txt: + install -d -m 755 $(prefix)/$(lang) + install *.txt -m 644 $(prefix)/$(lang) + clean: rm -f *.1 *.html