Writing patches for git-ignored files

Khoo Wei Ming weimzz at gmail.com
Sat Feb 18 09:47:25 PST 2012


Hi Christian,

Thanks for your reply.

> (with new build system you use something like
> make cmd="dmake patch"
> previously you had to source the Environment file, but that was
> integrated to a config.mk)

Issuing make cmd="dmake patch" seemed to behave similar to make.

~/libo-git$ make cmd="dmake patch"
********************************************************************
*
*   Running the post download checks.
*
********************************************************************
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
cd instsetoo_native && unset MAKEFLAGS && \
	/home/wmk26/libo-git/solenv/bin/build.pl -P1 --all -- -P1


=============
(1/138) Building module solenv
=============
...

I looked at Makefile and saw this bit

#
# custum command
#
ifneq ( $(MAKECMDGOALS),cmd)
cmd:
        echo "custum cmd" && ( $(cmd) )

endif

So I tried

~/libo-git$ make cmd cmd="dmake patch"
echo "custum cmd" && ( dmake patch )
custum cmd
dmake:  Error: -- Don't know how to make `patch'
make: *** [cmd] Error 255

Am I on the right track? How do I target only one module?

Regards,
--wm


More information about the LibreOffice mailing list