From: watanaby Date: Sat, 25 Jun 2016 09:52:26 +0000 (+0900) Subject: added cleanup of emacs autosave in Makefile X-Git-Url: http://git.osdn.net/view?p=opengatem%2Fopengatem.git;a=commitdiff_plain;h=d7b1fa3367f3777dcd8f99e86c907dd34cabc034 added cleanup of emacs autosave in Makefile --- diff --git a/mdsrc/Makefile b/mdsrc/Makefile index 899333a..a0ec66d 100644 --- a/mdsrc/Makefile +++ b/mdsrc/Makefile @@ -29,7 +29,7 @@ MDMAINPROG = opengatemd LIBOPT = ezxml -CLEANFILES = *.o *~ *.core a.out \\#* +CLEANFILES = *.o *.core a.out all: ${MDMAINPROG} ${LIBOPT} @@ -41,7 +41,10 @@ ezxml: clean: rm -f ${MDMAINPROG} ${CLEANFILES} ${MAKE} clean -C ../ezxml - rm -f ../*/*~ ../*~ ../*/*/*~ + rm -f *~ ../*/*~ ../*~ ../*/*/*~ #remove emacs backup + rm -f \#* ../*/\#* ../\#* ../*/*/\#* #remove emacs autosave + + install: install-md-prg install-conf rm-lockfile diff --git a/mngsrc/Makefile b/mngsrc/Makefile index 6de1682..ea86183 100644 --- a/mngsrc/Makefile +++ b/mngsrc/Makefile @@ -50,7 +50,7 @@ FWDPROG = opengatemfwd LIBOPT = ezxml -CLEANFILES = *.o *~ *.core a.out \\#* +CLEANFILES = *.o *.core a.out all: ${CHKPROG} ${REGPROG} ${UPPROG} ${OWNPROG} ${MAILPROG} ${FWDPROG} ${LIBOPT} @@ -78,7 +78,8 @@ ezxml: clean: rm -f ${CHKPROG} ${REGPROG} ${UPPROG} ${OWNPROG} ${FWDPROG} ${MAILPROG} ${CLEANFILES} ${MAKE} clean -C ../ezxml - rm -f ../*/*~ ../*~ ../*/*/*~ + rm -f *~ ../*/*~ ../*~ ../*/*/*~ #remove emacs backup + rm -f \#* ../*/\#* ../\#* ../*/*/\#* #remove emacs autosave # install mac registration and upating systems install: install-chkcgi install-regcgi install-upcgi install-owncgi install-fwdcgi install-mailbin install-conf install-html