Fixed DESTDIR make install/uninstall and break immediately on errors

This commit is contained in:
Olof hagsand 2017-11-22 22:21:12 +01:00
parent 496754f5c5
commit 96a7ec86f0
16 changed files with 115 additions and 39 deletions

View file

@ -54,7 +54,9 @@ distclean: clean
rm -f Makefile *~ .depend
install: $(YANGSPECS)
install -d $(DESTDIR)/yang
echo $(DESTDIR)$(datarootdir)/clixon/clixon.mk
echo $(DESTDIR)$(clixon_DATADIR)
install -d $(DESTDIR)$(clixon_DATADIR)
install $(YANGSPECS) $(DESTDIR)$(clixon_DATADIR)
uninstall: