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

Re: An help to create an debian/rules



On Fri, Sep 05, 2003 at 12:49:45PM -0300, Luiz Rafael Culik Guimaraes wrote:
> yes, is shell script and rpm.spec allow this inside, so debian/rules allow
> this.
Well... To be precise: debian/rules does NOT allow shell scripts inside. It
only allows shell commands. To catch a difference create Makefile like this:

--- 8< [cut here] ---
testdir:
        mkdir testdir

t1: testdir
        cd testdir
        pwd

t2: testdir
        cd testdir;\
        pwd
--- 8< [cut here] ---

and compare results of:
make t1
and
make t2

Regards
	Artur
-- 
* netcat się zabiera za pcoa z niejakim obrzydzeniem (320)
<prorok_> netcat: ostatnia pięćsetka całkiem przyjemna jest. mało chamstwa,
          interesjące wątki, WO świetny. :))



Reply to: