Debian Codegraph @

display/d.northarrow/Makefile

raw
1 MODULE_TOPDIR = ../..
2
3 PGM = d.northarrow
4
5 LIBES = $(DISPLAYLIB) $(SYMBLIB) $(GISLIB)
6 DEPENDENCIES = $(DISPLAYDEP) $(SYMBDEP) $(GISDEP)
7
8 include $(MODULE_TOPDIR)/include/Make/Module.make
9
10 # thumbnail previews
11 IMGSRC := $(wildcard thumbnails/*.png)
12 IMGDST := $(patsubst thumbnails/%,$(HTMLDIR)/northarrows/%,$(IMGSRC))
13 MDIMGDST := $(patsubst thumbnails/%,$(MDDIR)/source/northarrows/%,$(IMGSRC))
14
15 default: cmd $(IMGDST) $(MDIMGDST)
16
17 $(HTMLDIR)/northarrows/%.png: thumbnails/%.png | $(HTMLDIR)/northarrows
18 $(INSTALL_DATA) $< $@
19
20 $(MDDIR)/source/northarrows/%.png: thumbnails/%.png | $(MDDIR)/source/northarrows
21 $(INSTALL_DATA) $< $@
22
23 $(HTMLDIR)/northarrows: $(HTMLDIR)
24 $(MKDIR) $@
25
26 $(MDDIR)/source/northarrows: $(MDDIR)
27 $(MKDIR) $@