mirror of
https://github.com/json-c/json-c.git
synced 2026-04-02 20: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
|
if ENABLE_OLDNAME_COMPAT
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
test \! -e "$(includedir)/json" || rm "$(includedir)/json"
|
test \! -e "$(DESTDIR)@includedir@json" || rm "$(DESTDIR)@includedir@/json"
|
||||||
$(LN_S) json-c "$(includedir)/json"
|
$(LN_S) json-c "$(DESTDIR)@includedir@/json"
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -f "$(includedir)/json"
|
rm -f "$(DESTDIR)@includedir@/json"
|
||||||
rm -rf "$(includedir)/json-c"
|
rm -rf "$(DESTDIR)@includedir@/json-c"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user