summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-11-02 10:26:52 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-11-02 10:26:52 +0100
commit93517da394859666e4af08f518dfb95c4ac271dd (patch)
tree3ec4f3345e6fe30168d37958ec473e782e1b3922 /doc
parentfec6996f966f4d9d3256cd3b09dc098f3a7b5481 (diff)
fix/simplify buildsystem for the (now) po4a-only manpages
Diffstat (limited to 'doc')
-rw-r--r--doc/es/makefile9
-rw-r--r--doc/makefile8
-rw-r--r--doc/pt_BR/makefile7
3 files changed, 8 insertions, 16 deletions
diff --git a/doc/es/makefile b/doc/es/makefile
index 81a410c5c..0b5b52222 100644
--- a/doc/es/makefile
+++ b/doc/es/makefile
@@ -5,8 +5,7 @@ SUBDIR=doc/es
# Bring in the default rules
include ../../buildlib/defaults.mak
-# Man pages
-SOURCE = apt-cache.es.8 apt-get.es.8 apt-cdrom.es.8 apt.conf.es.5 \
- sources.list.es.5 apt-config.es.8 apt_preferences.es.5
-INCLUDES = apt.ent.es
-include $(SGML_MANPAGE_H)
+# Language Code of this translation
+LC=es
+
+include $(PO4A_MANPAGE_H)
diff --git a/doc/makefile b/doc/makefile
index 0cb135c7b..fe53aba48 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -43,14 +43,6 @@ veryclean-subdirs:
for dir in $(SUBDIRS); do\
$(MAKE) -C $$dir veryclean; \
done
- # FIXME remove created sgml files, but preserve all
- # which are "left over" from older systems.
- # After completing the transition this should be handled
- # in the po4a-manpage makefile for all translations
- for dir in $(subst /addendum/,, $(dir $(wildcard */addendum/*))); do\
- rm -f $$dir/offline.$$dir.sgml; \
- rm -f $$dir/guide.$$dir.sgml; \
- done
ifdef PO4A
doc: po4a
diff --git a/doc/pt_BR/makefile b/doc/pt_BR/makefile
index 4c9ea6293..6e485bbf6 100644
--- a/doc/pt_BR/makefile
+++ b/doc/pt_BR/makefile
@@ -5,6 +5,7 @@ SUBDIR=doc/pt_BR
# Bring in the default rules
include ../../buildlib/defaults.mak
-SOURCE = apt_preferences.pt_BR.5
-INCLUDES = apt.ent.pt_BR
-include $(SGML_MANPAGE_H)
+# Language Code of this translation
+LC=pt_BR
+
+include $(PO4A_MANPAGE_H)