forked from SELinuxProject/selinux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://www.gnu.org/prep/standards/html_node/DESTDIR.html DESTDIR should be supported only in the install* and uninstall* targets, as those are the only targets where it is useful. Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
- Loading branch information
1 parent
f027db4
commit 03d7e6a
Showing
40 changed files
with
313 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Installation directories. | ||
PREFIX ?= $(DESTDIR)/usr | ||
PREFIX ?= /usr | ||
INCDIR ?= $(PREFIX)/include/semanage | ||
|
||
all: | ||
|
||
install: all | ||
test -d $(INCDIR) || install -m 755 -d $(INCDIR) | ||
install -m 644 $(wildcard semanage/*.h) $(INCDIR) | ||
test -d $(DESTDIR)$(INCDIR) || install -m 755 -d $(DESTDIR)$(INCDIR) | ||
install -m 644 $(wildcard semanage/*.h) $(DESTDIR)$(INCDIR) | ||
|
||
indent: | ||
../../scripts/Lindent $(wildcard semanage/*.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PREFIX ?= $(DESTDIR)/usr | ||
PREFIX ?= /usr | ||
LIBDIR ?= $(PREFIX)/lib | ||
|
||
# Add your test source files here: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Installation directories. | ||
PREFIX ?= $(DESTDIR)/usr | ||
PREFIX ?= /usr | ||
INCDIR ?= $(PREFIX)/include/sepol | ||
CILDIR ?= ../cil | ||
|
||
all: | ||
|
||
install: all | ||
test -d $(INCDIR) || install -m 755 -d $(INCDIR) | ||
test -d $(INCDIR)/policydb || install -m 755 -d $(INCDIR)/policydb | ||
test -d $(INCDIR)/cil || install -m 755 -d $(INCDIR)/cil | ||
install -m 644 $(wildcard sepol/*.h) $(INCDIR) | ||
install -m 644 $(wildcard sepol/policydb/*.h) $(INCDIR)/policydb | ||
install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(INCDIR)/cil | ||
test -d $(DESTDIR)$(INCDIR) || install -m 755 -d $(DESTDIR)$(INCDIR) | ||
test -d $(DESTDIR)$(INCDIR)/policydb || install -m 755 -d $(DESTDIR)$(INCDIR)/policydb | ||
test -d $(DESTDIR)$(INCDIR)/cil || install -m 755 -d $(DESTDIR)$(INCDIR)/cil | ||
install -m 644 $(wildcard sepol/*.h) $(DESTDIR)$(INCDIR) | ||
install -m 644 $(wildcard sepol/policydb/*.h) $(DESTDIR)$(INCDIR)/policydb | ||
install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(DESTDIR)$(INCDIR)/cil | ||
|
||
indent: | ||
../../scripts/Lindent $(wildcard sepol/*.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.