[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dangerous command in Makefile.in uninstall rule

From: Eli Zaretskii
Subject: Re: dangerous command in Makefile.in uninstall rule
Date: Fri, 03 Mar 2006 14:35:22 +0200

> From: Richard Stallman <address@hidden>
> Date: Mon, 27 Feb 2006 18:47:01 -0500
> Cc: address@hidden
>     $ rm -f cl* ada-mode*
>     autotype* calc* ccmode* ebrowse* efaq* eintr elisp*
>     eshell* eudc* idlwave* message* pcl-cvs* reftex*
>     speedbar* tramp* widget* woman* dired-x* ediff* emacs*
>     emacs-xtra* flymake* forms* gnus* info* mh-e*
>     newsticker* org* sc* ses* vip* smtpmail* url* rcirc*
>     erc*
> We could make these more specific.  For instance, it could be
> cl cl-*
> or even
> cl cl-[0-9] cl-[0-9][0-9]
> for each one of the manuals.
> But that is rather clumsy.  Is there any cleaner way to do it?

The cleanest way I know of is to have a single list of main Info files
(i.e., without the -[0-9] etc. suffixes, and then do something like

   for f in ${INFO_FILES} do
     rm -f $$f $$f-[1-9] $$f-[1-9][0-9]

We could then have the install target use INFO_FILES as well.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]