* Makefile change: Removed the make include file: clixon.mk and clixon.mk.in

* These generated the Makefile variables: clixon_DBSPECDIR, clixon_SYSCONFDIR, clixon_LOCALSTATEDIR, clixon_LIBDIR, clixon_DATADIR which have been replaced by generic autoconf variables instead.
This commit is contained in:
Olof hagsand 2018-07-22 18:33:13 +02:00
parent faea537d25
commit 9776ee864f
16 changed files with 51 additions and 384 deletions

View file

@ -38,6 +38,8 @@ bindir = @bindir@
includedir = @includedir@
datarootdir = @datarootdir@
CLIXON_DATADIR = @CLIXON_DATADIR@
YANGSPECS = clixon-config@2018-04-30.yang
YANGSPECS += ietf-netconf@2011-06-01.yang
YANGSPECS += ietf-netconf-acm@2018-02-14.yang
@ -48,22 +50,17 @@ APPNAME = clixon # subdir ehere these files are installed
all:
# Note: clixon.mk has a rule for:
-include $(DESTDIR)$(datarootdir)/clixon/clixon.mk
clean:
distclean: clean
rm -f Makefile *~ .depend
install: $(YANGSPECS)
echo $(DESTDIR)$(datarootdir)/clixon/clixon.mk
echo $(DESTDIR)$(clixon_DATADIR)
install -d -m 0755 $(DESTDIR)$(clixon_DATADIR)
install -m 0644 $(YANGSPECS) $(DESTDIR)$(clixon_DATADIR)
install -d -m 0755 $(DESTDIR)$(CLIXON_DATADIR)
install -m 0644 $(YANGSPECS) $(DESTDIR)$(CLIXON_DATADIR)
uninstall:
(cd $(DESTDIR)$(clixon_DATADIR); rm -rf $(YANGSPECS))
uninstall:
(cd $(DESTDIR)$(CLIXON_DATADIR); rm -rf *.yang)
install-include: