Updated PO files.
[libguestfs.git] / Makefile.am
index efde000..c8cf76c 100644 (file)
@@ -60,8 +60,6 @@ EXTRA_DIST = \
        make-recipes.sh \
        test-cleanup.sh \
        contrib/README \
-       contrib/centos5.3-libguestfs.spec \
-       contrib/fedora-libguestfs.spec \
        contrib/febootstrap/install.title \
        contrib/febootstrap/install.html \
        contrib/febootstrap/install.sh \
@@ -182,11 +180,18 @@ html/recipes.html: $(wildcard recipes/*.sh) $(wildcard recipes/*.html) $(wildcar
        sh make-recipes.sh recipes/*.sh > $@-t
        mv $@-t $@
 
-website: html/guestfs.3.html html/guestfish.1.html \
+HTMLFILES = html/guestfs.3.html html/guestfish.1.html \
        html/virt-inspector.1.html \
-       html/recipes.html
-       cp $^ html/pod.css html/recipes.css \
-         $(HOME)/d/redhat/et-website/libguestfs/
+       html/recipes.html \
+       html/pod.css html/recipes.css
+
+TEXTFILES = README TODO HACKING
+
+WEBSITEDIR = $(HOME)/d/redhat/et-website/libguestfs
+
+website: $(HTMLFILES) $(TEXTFILES)
+       cp $(HTMLFILES) $(WEBSITEDIR)
+       for f in $(TEXTFILES); do cp $$f $(WEBSITEDIR)/$$f.txt; done
 
 # Generate the ChangeLog automatically from the gitlog.