Compare commits

..

3 Commits

Author SHA1 Message Date
Bruno Wolff III
15a9a14dff Missing wildcard instances causes a problem 2013-06-29 15:17:50 -05:00
Bruno Wolff III
629a71433c Fix install target
Installing a mix of directories and files on the same install
command doesn't work.
2013-06-29 14:59:42 -05:00
Bruno Wolff III
e2a8980bee Use DESTDIR instead of prefix 2013-06-29 14:45:41 -05:00

View File

@@ -5,19 +5,21 @@ ifeq ($(version),)
version := $(shell git log -1 --abbrev=8 --pretty=git%h)
endif
prefix := /usr
DESTDIR := /usr
datadir := $(prefix)/share
DATADIR := $(DESTDIR)/share
docdir := $(datadir)/doc/
DOCDIR := $(DATADIR)/doc/
name := spin-kickstarts
all: dist
install:
install *.ks custom l10n $(datadir)/$(name)
install AUTHORS COPYING README $(docdir)/$(name)
install *.ks* $(DATADIR)/$(name)
install custom/* $(DATADIR)/$(name)/custom
install l10n/* $(DATADIR)/$(name)/l10n
install AUTHORS COPYING README $(DOCDIR)/$(name)
clean:
rm -f $(name)-*.tar.gz