mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-25 08:33:09 +00:00
Make directories if needed and use specific permissions
This commit is contained in:
parent
5149abf0f9
commit
8311504e19
14
Makefile
14
Makefile
@ -9,17 +9,21 @@ DESTDIR := /usr
|
||||
|
||||
DATADIR := $(DESTDIR)/share
|
||||
|
||||
DOCDIR := $(DATADIR)/doc/
|
||||
DOCDIR := $(DATADIR)/doc
|
||||
|
||||
name := spin-kickstarts
|
||||
|
||||
all: dist
|
||||
|
||||
install:
|
||||
install *.ks* $(DATADIR)/$(name)
|
||||
install custom/* $(DATADIR)/$(name)/custom
|
||||
install l10n/* $(DATADIR)/$(name)/l10n
|
||||
install AUTHORS COPYING README $(DOCDIR)/$(name)-$(version)
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)
|
||||
install *.ks* -m 644 $(DATADIR)/$(name)
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/custom
|
||||
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
||||
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
||||
mkdir -p -m 755 $(DOCDIR)/$(name)-$(version)
|
||||
install -m 644 AUTHORS COPYING README $(DOCDIR)/$(name)-$(version)
|
||||
|
||||
clean:
|
||||
rm -f $(name)-*.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user