Changeset 48:bcaa3b7a0890


Ignore:
Timestamp:
Sep 1, 2013, 4:26:07 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
rebase_source:
9d30ad48bf635ba9f05f525417f73221154cf98a
Message:

Now supporting make install

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .hgignore

    r36 r48  
    1111pymunk/
    1212pymunk-*/
    13 source/svg/*.png
     13source/**.png
  • source/Makefile

    r45 r48  
    1 SOURCES = $(shell find svg -name '*.svg')
     1SOURCES = $(shell find images -name '*.svg')
    22TARGETS = $(patsubst %.svg,%.png,$(SOURCES))
    33OPTIMIZE = 1
    44
    55all: $(TARGETS)
     6
     7install: $(TARGETS)
     8        set -ex; \
     9        for fn in $(TARGETS); do \
     10                mkdir -p ../data/"$$(dirname $$fn)"; \
     11                cp $$fn ../data/$$fn; \
     12        done
    613
    714clean:
Note: See TracChangeset for help on using the changeset viewer.