Fixed [Makefile syntax error *** mixed implicit and normal rules #104](https://github.com/clicon/clixon/issues/104). Make operator seems not to work on GNU make version < 4.
This commit is contained in:
parent
d7972ff311
commit
78aac85b18
2 changed files with 4 additions and 2 deletions
|
|
@ -97,6 +97,7 @@ Expected: Early March 2020
|
||||||
|
|
||||||
### Corrected Bugs
|
### Corrected Bugs
|
||||||
|
|
||||||
|
* Fixed [Makefile syntax error *** mixed implicit and normal rules #104](https://github.com/clicon/clixon/issues/104). Make operator `|=` seems not to work on GNU make version < 4.
|
||||||
* Yang specs with recursive grouping/use statement is now fixed: instead of stack overflow, you get an error message and an exit
|
* Yang specs with recursive grouping/use statement is now fixed: instead of stack overflow, you get an error message and an exit
|
||||||
* Fixed: Some state data was sorted but should not have been.
|
* Fixed: Some state data was sorted but should not have been.
|
||||||
* Search function checked only own not for config false statement, should have checked all ancestors.
|
* Search function checked only own not for config false statement, should have checked all ancestors.
|
||||||
|
|
|
||||||
|
|
@ -216,8 +216,9 @@ distclean: clean
|
||||||
.c.o: $(GENSRC)
|
.c.o: $(GENSRC)
|
||||||
rm -f $@ && $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $<
|
rm -f $@ && $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $<
|
||||||
|
|
||||||
# Compute the length of the date command (and add some extra woith XXX)
|
# Compute the length of the date command (and add some extra with XXX)
|
||||||
DATELEN != date +"%Y.%m.%d %H:%M by `whoami` on `hostname`XXXX"|wc -c
|
DATELEN = $(shell date +"%Y.%m.%d %H:%M by `whoami` on `hostname`XXXX"|wc -c)
|
||||||
|
|
||||||
.PHONY: build.c
|
.PHONY: build.c
|
||||||
build.c:
|
build.c:
|
||||||
date +"const char CLIXON_BUILDSTR[$(DATELEN)]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; > build.c;
|
date +"const char CLIXON_BUILDSTR[$(DATELEN)]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; > build.c;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue