n your Makefile.am, you get an
additional target $(PACKAGE).spec to build the package spec, and of
course an "rpm" target. If you put AUTOMAKE_OPTIONS = exe, you get
an AIX package, and so on.
Seems like there's some fun ahead for the week-end !
--
Christophe Tronche [EMAIL PROTECTED]
http://tronche.com/
27;ve a set of programs making up a program called
"autopack" (surprise). Makefiles are built with automake, of
course. Now, we want to build an RPM package. Here are the required
steps:
In the top Makefile.am, put
AUTOMAKE_OPTIONS = package-rpm
In the configure.ac, chances are that you&
0,
> > GPL,
> > Applications/Multimedia,
> > Christophe Tronche <[EMAIL PROTECTED]>,
> > http://gnu.org/automake/,
> > [This is an extension to automake to let make build
> > effortlessly (hopefully !)
through `make list-install-doc'). So, once I had
`make list-install-doc', `make list-install' wasn't very far. However,
one may find this not a very pragmatic argument...
--
Christophe Tronche [EMAIL PROTECTED]
http://tronche.com/
me in your hands (ok, I know you don't. Neither do
I !), give it a try and tell me anything that may have went wrong;
2) Also tell what you think may be interesting to add or change.
> Should I send a bug report if I found a bug in autopack?
Sure !
> Masatake YAMATO
--
Christophe Tronche [EMAIL PROTECTED]
http://tronche.com/
> +## - ##
> +## Listing what gets installed. ##
> +## - ##
> +if %?INSTALL%
> +.PHONY list-install-am: list-install-%DIR%SCRIPTS
> +list-install-%DIR%%PRIMARY%:
> + @list='$(%DIR%_SCRIPTS)'; for p in $$list; do \
> + echo $(DESTDIR)$(%NDIR%dir)/$$p; \
> + done 1>&2
> +endif %?INSTALL%
>
> ## -- ##
> ## Uninstalling. ##
>
> 4. epm
> We should provide epm target, too.
Only a matter of a few days...
--
Christophe Tronche [EMAIL PROTECTED]
http://tronche.com/
* proposed by [EMAIL PROTECTED]
>
> AP_INFO_REQUIRE(autoconf-2.50)
> AP_INFO_REQUIRE(emacs-21.1)
Absolutely.
> Masatake
>
>
--
Christophe Tronche [EMAIL PROTECTED]
http://tronche.com/