Revision 8269
Added by Aaron Marcuse-Kubitza almost 12 years ago
common.Makefile | ||
---|---|---|
114 | 114 |
# Run with `make -s` to avoid echoing make commands |
115 | 115 |
%.md5/test: %.md5 % _always |
116 | 116 |
echo '$(shell cat $<) $*'|nice -n +5 md5sum -$(if $(isMac),v)c /dev/stdin |
117 |
|
|
118 |
##### Compression |
|
119 |
|
|
120 |
%:: %.gz |
|
121 |
gunzip <$< >$@ |
|
122 |
touch -r $@ $< |
|
123 |
|
|
124 |
ifneq ($(filter %.gz,$(MAKECMDGOALS)),) |
|
125 |
%.gz: % |
|
126 |
gzip <$< >$@ |
|
127 |
touch -r $@ $< |
|
128 |
endif |
Also available in: Unified diff
lib/common.Makefile: Compression: Added `%:: .gz`, `.gz: %`