Changeset 2a59655


Ignore:
Timestamp:
Dec 9, 2020, 3:01:28 PM (10 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
1a2a49b
Parents:
d7a10af
Message:

make distcheck FINALLY passes

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rd7a10af r2a59655  
    1919
    2020MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important
     21DISTCLEANFILES = version
    2122
    2223SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
     
    5051        @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"
    5152        @find libcfa -name config.status -printf "\n%h\n\t" -exec {} --config \; | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"
     53
     54mostlyclean-local: @LIBCFA_TARGET_MAKEFILES@
     55        for dir in @LIBCFA_TARGET_DIRS@; do \
     56                $(MAKE) -C $${dir} mostlyclean; \
     57        done
     58
     59clean-local: @LIBCFA_TARGET_MAKEFILES@
     60        for dir in @LIBCFA_TARGET_DIRS@; do \
     61                $(MAKE) -C $${dir} clean; \
     62        done
     63
     64distclean-local: @LIBCFA_TARGET_MAKEFILES@
     65        for dir in @LIBCFA_TARGET_DIRS@; do \
     66                $(MAKE) -C $${dir} distclean; \
     67                rm $${dir}/config.data; \
     68        done
  • driver/Makefile.am

    rd7a10af r2a59655  
    2828        @test -z "$(CFA_BINDIR)" || $(MKDIR_P) "$(CFA_BINDIR)"
    2929        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
     30        chmod u+w $(CFA_BINDIR);\
    3031        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
    3132
  • libcfa/prelude/Makefile.am

    rd7a10af r2a59655  
    7070
    7171MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cfa
     72DISTCLEANFILES = $(DEPDIR)/builtins.Po
    7273MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
    7374
  • libcfa/src/Makefile.am

    rd7a10af r2a59655  
    197197        -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR}
    198198
     199distclean-local:
     200        find ${builddir} -path '*.Plo' -delete
     201
    199202
    200203# $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  • tests/Makefile.am

    rd7a10af r2a59655  
    102102        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    103103
    104 clean-local :
     104mostlyclean-local :
    105105        rm -f ${EXTRA_PROGRAMS}
     106        rm -rf __pycache__
     107        find ${builddir} -path '*.o' -delete
     108        find ${builddir} -path '*/.err/*.log' -delete
     109        find ${builddir} -path '*/.out/*.log' -delete
     110
     111distclean-local :
     112        find ${builddir} -path '*.Po' -delete
    106113
    107114list :
Note: See TracChangeset for help on using the changeset viewer.