1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 15:33:07 +00:00

Use DESTDIR instead of prefix

This commit is contained in:
Bruno Wolff III 2013-06-29 14:45:41 -05:00
parent 89d097db42
commit e2a8980bee

View File

@ -5,19 +5,19 @@ 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 custom l10n $(DATADIR)/$(name)
install AUTHORS COPYING README $(DOCDIR)/$(name)
clean:
rm -f $(name)-*.tar.gz