From 93517da394859666e4af08f518dfb95c4ac271dd Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 2 Nov 2009 10:26:52 +0100 Subject: fix/simplify buildsystem for the (now) po4a-only manpages --- doc/es/makefile | 9 ++++----- doc/makefile | 8 -------- doc/pt_BR/makefile | 7 ++++--- 3 files changed, 8 insertions(+), 16 deletions(-) (limited to 'doc') 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) -- cgit v1.2.3-70-g09d2