mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-25 16:43:08 +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
|
DATADIR := $(DESTDIR)/share
|
||||||
|
|
||||||
DOCDIR := $(DATADIR)/doc/
|
DOCDIR := $(DATADIR)/doc
|
||||||
|
|
||||||
name := spin-kickstarts
|
name := spin-kickstarts
|
||||||
|
|
||||||
all: dist
|
all: dist
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install *.ks* $(DATADIR)/$(name)
|
mkdir -p -m 755 $(DATADIR)/$(name)
|
||||||
install custom/* $(DATADIR)/$(name)/custom
|
install *.ks* -m 644 $(DATADIR)/$(name)
|
||||||
install l10n/* $(DATADIR)/$(name)/l10n
|
mkdir -p -m 755 $(DATADIR)/$(name)/custom
|
||||||
install AUTHORS COPYING README $(DOCDIR)/$(name)-$(version)
|
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:
|
clean:
|
||||||
rm -f $(name)-*.tar.gz
|
rm -f $(name)-*.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user