]> git.ipfire.org Git - thirdparty/zstd.git/commit
lib/Makefile: create include directory before headers installation 1123/head
authorBaruch Siach <baruch@tkos.co.il>
Tue, 8 May 2018 17:43:28 +0000 (20:43 +0300)
committerBaruch Siach <baruch@tkos.co.il>
Tue, 8 May 2018 17:59:44 +0000 (20:59 +0300)
commit9a0643b633c00e86db059e3790bdea7155fb6dc9
tree4d8c3df657709ff932c6f91a4fe321c8c0cddb1e
parent87125c2c01097dd2fd51050cf03f177733a74c99
lib/Makefile: create include directory before headers installation

Make sure that $(INCLUDEDIR) exists before copying the headers there.
Otherwise, the contest of header files is copied over
$(DESTDIR)$(INCLUDEDIR), making it a regular file.

While at it, remove $(DESTDIR)$(INCLUDEDIR) from the list of directories
to create in the install-pc target. The install-pc target does not need
this directory.
lib/Makefile