Fix another bug in make install for fwg (complained becuase there were no pngs to install).

Original commit message from CVS:
Fix another bug in make install for fwg (complained becuase there were no
pngs to install).
I should have got up more slowly today...
This commit is contained in:
Richard Boulton 2000-12-31 14:22:59 +00:00
parent 080754de3e
commit 44e2bda95f

View file

@ -73,14 +73,20 @@ htmlinst:
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \ $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname)/images ; \ $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname)/images ; \
$(INSTALL_DATA) $(manualname)/*.html $(DESTDIR)$(docdatadir)/$(manualname) ; \ $(INSTALL_DATA) $(manualname)/*.html $(DESTDIR)$(docdatadir)/$(manualname) ; \
for a in $(png_files); do $(INSTALL_DATA) $$a $(DESTDIR)$(docdatadir)/$(manualname)/images ; done \ for a in "x" $(png_files); do \
if [ "x$$a" != "xx" ] ; then \
$(INSTALL_DATA) $$a $(DESTDIR)$(docdatadir)/$(manualname)/images ; \
fi; done \
else \ else \
if [ -r $(srcdir)/$(manualname)/$(htmlname) ] ; then \ if [ -r $(srcdir)/$(manualname)/$(htmlname) ] ; then \
echo "Installing $(srcdir)/$(manualname)" ; \ echo "Installing $(srcdir)/$(manualname)" ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \ $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname)/images ; \ $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname)/images ; \
$(INSTALL_DATA) $(srcdir)/$(manualname)/*.html $(DESTDIR)$(docdatadir)/$(manualname) ; \ $(INSTALL_DATA) $(srcdir)/$(manualname)/*.html $(DESTDIR)$(docdatadir)/$(manualname) ; \
for a in $(png_files); do $(INSTALL_DATA) $$a $(DESTDIR)$(docdatadir)/$(manualname)/images ; done \ for a in "x" $(png_files); do \
if [ "x$$a" != "xx" ] ; then \
$(INSTALL_DATA) $$a $(DESTDIR)$(docdatadir)/$(manualname)/images ; \
fi; done \
else \ else \
echo "NOT installing HTML documentation: not present, and can't generate" ; \ echo "NOT installing HTML documentation: not present, and can't generate" ; \
fi \ fi \