Skip to content

make install-headers-only ? #304

Answered by troglobit
hongkongkiwi asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, let me see ... we have a pkginclude_HEADERS variable set. I think the following should do the trick:

$ cd src/
$ make install-pkgincludeHEADERS DESTDIR=/tmp/foo
/usr/bin/mkdir -p '/tmp/foo/usr/include/finit'
/usr/bin/install -c -m 644 cgroup.h cond.h conf.h finit.h helpers.h log.h plugin.h svc.h service.h '/tmp/foo/usr/include/finit'

DESTDIR is optional.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by troglobit
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #303 on October 04, 2022 12:09.