Skip to content

Commit

Permalink
make install: Fix file and directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed May 19, 2016
1 parent fb2f5c4 commit 7b2bf76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ py3c.pc: py3c.pc.in
sed -e's:@includedir@:$(realpath $(includedir)):' $< > $@

install: py3c.pc
mkdir -p $(includedir)/py3c
install include/py3c.h $(includedir)/py3c.h
install $(wildcard include/py3c/*.h) $(includedir)/py3c/
mkdir -p -m 0755 $(includedir)/py3c
install -m 0644 include/py3c.h $(includedir)/py3c.h
install -m 0644 $(wildcard include/py3c/*.h) $(includedir)/py3c/

mkdir -p $(pkgconfigdir)
install py3c.pc $(pkgconfigdir)/
mkdir -p -m 0755 $(pkgconfigdir)
install -m 0644 py3c.pc $(pkgconfigdir)/

clean:
rm py3c.pc ||:
Expand Down

0 comments on commit 7b2bf76

Please sign in to comment.