Promised in wiki:Submitting/Docs. The only module which has GIFs (static) is r.landscape.evol (in addons), but GIFs are (still) useful for animations. git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72235 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -3,7 +3,7 @@
htmldesc = $(call run_grass,$(1) --html-description < /dev/null | grep -v '</body>\|</html>' > $(2))
-IMGSRC := $(wildcard *.png) $(wildcard *.jpg)
+IMGSRC := $(wildcard *.png) $(wildcard *.jpg) $(wildcard *.gif)
IMGDST := $(patsubst %,$(HTMLDIR)/%,$(IMGSRC))
ifneq ($(strip $(IMGDST)),)
@@ -15,3 +15,6 @@ $(HTMLDIR)/%.png: %.png | $(HTMLDIR)
$(HTMLDIR)/%.jpg: %.jpg | $(HTMLDIR)
$(INSTALL_DATA) $< $@
+
+$(HTMLDIR)/%.gif: %.gif | $(HTMLDIR)
+ $(INSTALL_DATA) $< $@
@@ -26,7 +26,7 @@ $(ETC)/$(PGM):
install:
$(INSTALL) $(ARCH_DISTDIR)/bin/$(PGM)$(EXE) $(INST_DIR)/bin/
$(INSTALL_DATA) $(HTMLDIR)/$(PGM).html $(INST_DIR)/docs/html/
- $(eval IMG := $(wildcard $(HTMLDIR)/*.png) $(wildcard $(HTMLDIR)/*.jpg))
+ $(eval IMG := $(wildcard $(HTMLDIR)/*.png) $(wildcard $(HTMLDIR)/*.jpg) $(wildcard $(HTMLDIR)/*.gif))
if [ -n "$(IMG)" ] ; then \
$(INSTALL_DATA) $(IMG) $(INST_DIR)/docs/html/ ; \
fi
@@ -34,7 +34,7 @@ scriptstrings: $(STRINGDIR)/$(PGM)_to_translate.c
$(INSTALL) $(SCRIPT) $(INST_DIR)/scripts/
@@ -33,7 +33,7 @@ scriptstrings: $(STRINGDIR)/$(PGM)_to_translate.c