diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-19 00:41:19 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-19 00:41:19 +0100 |
commit | 3e34126ec0a0bbcfaa1b67eb416123b65cab58fa (patch) | |
tree | 4e6df0019f1a574ea5b5194066a1080f75ced095 /Makefile | |
parent | add examples to makefile (diff) | |
download | blueshift-1.0.tar.gz blueshift-1.0.tar.bz2 blueshift-1.0.tar.xz |
fix makefile1.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -76,18 +76,18 @@ obj/blueshift_randr.c: src/blueshift_randr.pyx install: install-command install-examples install-license .PHONY: install-command -install-command: bin/blueshift_randr.so bin/blueshift +install-command: bin/blueshift_randr.so bin/blueshift $(foreach D,$(DATAFILES),res/$(D)) install -dm755 -- "$(DESTDIR)$(BINDIR)" install -m755 bin/blueshift -- "$(DESTDIR)$(BINDIR)/$(COMMAND)" install -dm755 -- "$(DESTDIR)$(LIBDIR)" install -m755 bin/blueshift_randr.so -- "$(DESTDIR)$(LIBDIR)/blueshift_randr.so" install -dm755 -- "$(DESTDIR)$(DATADIR)/$(PKGNAME)" - install -m644 -- $(DATAFILES) "$(DESTDIR)$(DATADIR)/$(PKGNAME)" + install -m644 -- $(foreach D,$(DATAFILES),res/$(D)) "$(DESTDIR)$(DATADIR)/$(PKGNAME)" .PHONY: install-examples -install-examples: +install-examples: $(foreach E,$(EXAMPLES),examples/$(E)) install -dm755 -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" - install -m644 $(foreach E,$(EXAMPLES),examples/$(E)) -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" + install -m644 $^ -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" .PHONY: install-license install-license: |