<i>install-doc target removes all mann manual pages</i> status still Open with 6 other changes
by
.
D 2008-12-15T04:29:19
J assignee stwo
J icomment Yes.\sTo\selaborate,\sthe\sbug\sis\sin\sthe\sinstall-doc\starget\swhich\sdoes\n\n\s\slist='$(srcdir)/doc/*.n';\sfor\si\sin\s$$list;\sdo\n\s\s...\n\s\srm\s-f\s$(DESTDIR)$(mandir)/mann/`basename\s$$i`;\s\\\n\nHence\sif\s$srcdir/doc\sis\sempty\sof\sany\s*.n,\sthen\sthe\s'list'\svar\sis\sset\sto\sa\spath\shaving\sa\sliteral\sstar\sin\sits\s[file\stail].\nIt\sgets\siterated\sover\sby\s'for'\sas\sa\ssingle-element\slist,\shence\s'i'\sgets\sthe\ssame\svalue,\sand\s'basename'\sstill\sextracts\sthe\sstar.\nThis\sresults\sin\n\n\s\srm\s-f\s$(DESTDIR)$(mandir)/mann/*.n\n\nwhich\sis\sunfortunate\s;-)\nAs\ssuggested\son\sthe\schat\swith\sGeorge,\sthere\sare\sgeneric\sways\sto\sdetect\sno-matches\sin\sshell\s(like\slooking\sfor\sthe\snaked\sstar).\nBut\shere\sit\smight\sbe\swiser\sto\savoid\sthe\srm\sin\sthe\sfirst\splace.\sWhy\sis\sit\sthere\s?\s(it\sis\sfollowed\sby\sINSTALL_DATA\swhich\scould\swell\soverwrite\sfiles)...\n\n\n
J login ferrieux
J mimetype text/plain
J subsystem 70.\sSample\sExtension
J username ferrieux
K 2429444fffffffffffffffffffffffffffffffff
U ferrieux
Z ef10e96901366dab905d16cb3e72ad29