-# FHS_ARCHIVE =$(shell ls -1 fhs*.tar.gz)
-# And with version 2.1, we have to build the text and dvi versions
-# ourselves :-(
-FHS_ARCHIVE =fhs-2.1-source.tar.gz
-FHS_FILES = fhs/fhs.ps fhs/fhs.txt fhs/fhs.pdf
-FSSTND_FILES =FSSTND-FAQ fsstnd-1.2.dvi.gz fsstnd-1.2.ps.gz fsstnd-1.2.txt.gz
-POLICY_FILES =policy.text.gz policy.sgml virtual-package-names-list.text \
- upgrading-checklist.text libc6-migration.text \
- version.ent proposal.sgml proposal.text.gz \
- menu-policy.sgml menu-policy.text.gz \
- mime-policy.sgml mime-policy.text.gz \
- policy-process.text.gz policy-process.sgml
-BYHAND_FILES =policy.text.gz libc6-migration.text \
- virtual-package-names-list.text menu-policy.text.gz \
- mime-policy.text.gz
-
-
-install_file = /usr/bin/install -p -o root -g root -m 644
-install_program= /usr/bin/install -p -o root -g root -m 755
-make_directory = /usr/bin/install -p -d -o root -g root -m 755
-
-GROFF_VERSION := $(shell dpkg -s groff | sed -n -e 's/Version: //p')
+# FHS_ARCHIVE := $(wildcard fhs*.tar.gz)
+FHS_ARCHIVE := fhs-2.3-source.tar.gz
+FHS_HTML := fhs-2.3.html
+FHS_FILES := fhs-2.3.ps.gz fhs-2.3.txt.gz fhs-2.3.pdf.gz
+FHS_NEW_ARCHIVE :=
+FHS_NEW_HTML :=
+FHS_NEW_FILES :=
+
+POLICY_FILES = $(SGML_FILES:=.sgml) $(SGML_FILES:=.txt.gz) \
+ virtual-package-names-list.txt \
+ upgrading-checklist.txt libc6-migration.txt version.ent \
+ debconf_spec/debconf_specification.html \
+ debconf_spec/debconf_specification.txt.gz \
+ policy.ps.gz policy.pdf.gz
+
+# policy.{pdf,ps,tpt,txt} are generated files
+FILES_TO_CLEAN = debian/files debian/buildinfo debian/substvars \
+ debian/postinst debian/prerm \
+ version.ent upgrading-checklist.txt \
+ $(SGML_FILES:=.txt.gz) $(SGML_FILES:=.html.tar.gz) \
+ policy.pdf.gz policy.ps.gz \
+ debconf_specification.xml.tar.gz \
+ policy.pdf policy.ps policy.txt policy.
+
+STAMPS_TO_CLEAN := stamp-policy stamp-build
+DIRS_TO_CLEAN := debian/tmp fhs $(SGML_FILES:=.html)
+
+
+install_file := install -p -o root -g root -m 644
+install_program := install -p -o root -g root -m 755
+make_directory := install -p -d -o root -g root -m 755