mirror of
https://github.com/json-c/json-c.git
synced 2026-03-21 14:09:06 +08:00
Prepend DESTDIR to paths for staged installs
This commit is contained in:
@@ -65,12 +65,12 @@ maintainer-clean-local:
|
||||
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
install-data-hook:
|
||||
test \! -e "$(includedir)/json" || rm "$(includedir)/json"
|
||||
$(LN_S) json-c "$(includedir)/json"
|
||||
test \! -e "$(DESTDIR)@includedir@json" || rm "$(DESTDIR)@includedir@/json"
|
||||
$(LN_S) json-c "$(DESTDIR)@includedir@/json"
|
||||
|
||||
uninstall-local:
|
||||
rm -f "$(includedir)/json"
|
||||
rm -rf "$(includedir)/json-c"
|
||||
rm -f "$(DESTDIR)@includedir@/json"
|
||||
rm -rf "$(DESTDIR)@includedir@/json-c"
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user