Browse Source

* doc/makefile, doc/*:

- generate subdirectories for building the manpages in on the fly
    depending on the po files we have.
debian/1.8.y
David Kalnischkies 13 years ago
parent
commit
b45fb8db8c
  1. 3
      debian/changelog
  2. 11
      doc/es/makefile
  3. 11
      doc/fr/makefile
  4. 11
      doc/it/makefile
  5. 11
      doc/ja/makefile
  6. 4
      doc/lang.makefile
  7. 15
      doc/makefile
  8. 11
      doc/pl/makefile
  9. 11
      doc/pt_BR/makefile

3
debian/changelog

@ -32,6 +32,9 @@ apt (0.7.26) UNRELEASED; urgency=low
- save Commandline in Commandline::AsString for logging
* apt-pkg/deb/debversion.cc:
- consider absent of debian revision equivalent to 0 (Closes: #573592)
* doc/makefile, doc/*:
- generate subdirectories for building the manpages in on the fly
depending on the po files we have.
[ Julian Andres Klode ]
* cmdline/apt-mark:

11
doc/es/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/es
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=es
include $(PO4A_MANPAGE_H)

11
doc/fr/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/fr
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=fr
include $(PO4A_MANPAGE_H)

11
doc/it/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/it
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=it
include $(PO4A_MANPAGE_H)

11
doc/ja/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/ja
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=ja
include $(PO4A_MANPAGE_H)

4
doc/de/makefile → doc/lang.makefile

@ -1,11 +1,11 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/de
SUBDIR=doc/@@LANG@@
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=de
LC=@@LANG@@
include $(PO4A_MANPAGE_H)

15
doc/makefile

@ -46,9 +46,14 @@ TO = $(DOC)
TARGET = binary
include $(COPY_H)
#.PHONY: headers library clean veryclean all binary program doc doc.pt_BR doc.fr
.PHONY: clean clean-subdirs veryclean veryclean-subdirs all binary doc
doc:
for dir in $(SUBDIRS); do\
for i in $(shell ls po/*.po | sed -r 's#po/([a-z]+[A-Z_]*).po#\1#'); do \
test -d $$i || mkdir $$i; \
test -f $$i/makefile || sed "s#@@LANG@@#$$i#" lang.makefile > $$i/makefile; \
done
# it is likely that we have changed the list, so SUBDIRS is incorrect
for dir in $(dir $(wildcard */makefile)); do\
$(MAKE) -C $$dir $@; \
done
@ -70,7 +75,7 @@ doc: po4a
clean: po4a-clean
.PHONY: update-po po4a
.PHONY: update-po po4a stats
update-po:
po4a --previous --no-backups --force --no-translations po4a.conf
@ -79,6 +84,10 @@ po4a-clean:
po4a:
po4a --previous --no-backups po4a.conf
stats:
for i in po/*.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
endif
ifdef DOXYGEN

11
doc/pl/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/pl
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=pl
include $(PO4A_MANPAGE_H)

11
doc/pt_BR/makefile

@ -1,11 +0,0 @@
# -*- make -*-
BASE=../..
SUBDIR=doc/pt_BR
# Bring in the default rules
include ../../buildlib/defaults.mak
# Language Code of this translation
LC=pt_BR
include $(PO4A_MANPAGE_H)
Loading…
Cancel
Save