[Fedora-spins] [spin-kickstarts] Use DESTDIR instead of prefix
Bruno Wolff III
bruno at fedoraproject.org
Sat Jun 29 19:46:11 UTC 2013
commit e2a8980beea679697766694d1d328e917edf3516
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sat Jun 29 14:45:41 2013 -0500
Use DESTDIR instead of prefix
Makefile | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Makefile b/Makefile
index a6b9c67..888ba30 100644
--- a/Makefile
+++ b/Makefile
@@ -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
More information about the spins
mailing list