File: optipng.mk

package info (click to toggle)
ns3 3.47-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 106,848 kB
  • sloc: cpp: 633,577; python: 15,491; ansic: 6,773; makefile: 1,959; sh: 1,021; pascal: 632; javascript: 167; perl: 102
file content (8 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
FILES := $(shell find ns-3.*/doc/html/ -type f -name '*_*_*.png' -printf "%p\t")
TARGETS := $(FILES:=-update)
all: $(TARGETS)

%-update: %
	optipng -preserve -quiet -fix -o 5 $<

.PHONY: all