Skip to content

Commit

Permalink
see if there's additional stuff to build in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed Oct 23, 2023
1 parent ebd0f5d commit cc33752
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
./configure --without-gif --enable-silent-rules --disable-autodepend --enable-gcc-warnings
make only_temacs
make all_only_c
make -C admin check
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Expand Down
36 changes: 26 additions & 10 deletions admin/grammars/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,42 +67,58 @@ bovine: ${BOVINE}
wisent: ${WISENT}

## c-by.el, make-by.el.
${bovinedir}/c-by.el: ${srcdir}/c.by
${bovinedir}/c-by.el: $(EMACS) ${srcdir}/c.by
[ ! -f "$@" ] || chmod +w "$@"
${make_bovine} -o "$@" ${srcdir}/c.by

${bovinedir}/make-by.el: ${srcdir}/make.by
${bovinedir}/make-by.el: $(EMACS) ${srcdir}/make.by
[ ! -f "$@" ] || chmod +w "$@"
${make_bovine} -o "$@" ${srcdir}/make.by

${bovinedir}/scm-by.el: ${srcdir}/scheme.by
${bovinedir}/scm-by.el: $(EMACS) ${srcdir}/scheme.by
[ ! -f "$@" ] || chmod +w "$@"
${make_bovine} -o "$@" ${srcdir}/scheme.by

## grammar-wy.el
${cedetdir}/semantic/grammar-wy.el: ${srcdir}/grammar.wy
${cedetdir}/semantic/grammar-wy.el: $(EMACS) ${srcdir}/grammar.wy
[ ! -f "$@" ] || chmod +w "$@"
${make_wisent} -o "$@" ${srcdir}/grammar.wy

## js-wy.el, python-wy.el
${wisentdir}/javat-wy.el: ${srcdir}/java-tags.wy
${wisentdir}/javat-wy.el: $(EMACS) ${srcdir}/java-tags.wy
[ ! -f "$@" ] || chmod +w "$@"
${make_wisent} -o "$@" ${srcdir}/java-tags.wy

${wisentdir}/js-wy.el: ${srcdir}/js.wy
${wisentdir}/js-wy.el: $(EMACS) ${srcdir}/js.wy
[ ! -f "$@" ] || chmod +w "$@"
${make_wisent} -o "$@" ${srcdir}/js.wy

${wisentdir}/python-wy.el: ${srcdir}/python.wy
${wisentdir}/python-wy.el: $(EMACS) ${srcdir}/python.wy
[ ! -f "$@" ] || chmod +w "$@"
${make_wisent} -o "$@" ${srcdir}/python.wy

${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
${cedetdir}/srecode/srt-wy.el: $(EMACS) ${srcdir}/srecode-template.wy
[ ! -f "$@" ] || chmod +w "$@"
${make_wisent} -o "$@" ${srcdir}/srecode-template.wy


.PHONY: distclean bootstrap-clean maintainer-clean extraclean
Makefile: Makefile.in
if test -x $(top_srcdir)/config.status; then \
$(top_srcdir)/config.status admin/grammars/Makefile; \
elif test -x $(top_builddir)/config.status; then \
$(top_builddir)/config.status admin/grammars/Makefile; \
elif test -e ../Makefile; then \
$(MAKE) -C .. grammars/Makefile; \
elif test -e ../../Makefile; then \
$(MAKE) -C ../.. admin/grammars/Makefile; \
else \
echo "$@: should probably never get here"; \
fi

.PHONY: check distclean bootstrap-clean maintainer-clean extraclean

check:
for checkfile in $(ALL); do \
if test -e $${checkfile}; then stat $${checkfile}; fi; done

distclean:
if test -e Makefile; then rm -f Makefile; fi
Expand Down
18 changes: 17 additions & 1 deletion admin/unidata/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,23 @@ unifiles: ${unidir}/charprop.el
[ -f ${unidir}/$${f} ] || { ${MAKE} $< FORCE=FORCE || exit 1; break; };\
done

.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean
Makefile: Makefile.in
if test -x $(top_srcdir)/config.status; then \
$(top_srcdir)/config.status admin/unidata/Makefile; \
elif test -x $(top_builddir)/config.status; then \
$(top_builddir)/config.status admin/unidata/Makefile; \
elif test -e ../Makefile; then \
$(MAKE) -C .. unidata/Makefile; \
elif test -e ../../Makefile; then \
$(MAKE) -C ../.. admin/unidata/Makefile; \
else \
echo "$@: should probably never get here"; \
fi

.PHONY: check clean bootstrap-clean distclean maintainer-clean extraclean

check:
ls

install: charprop.el
cp -v charprop.el ${DSTDIR}
Expand Down

0 comments on commit cc33752

Please sign in to comment.