rpms/enemies-of-carlotta/devel enemies-of-carlotta-1.0.3-Makefile.patch, NONE, 1.1 enemies-of-carlotta.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ralf Corsepius rc040203 at freenet.de
Thu Apr 7 16:19:56 UTC 2005


On Thu, 2005-04-07 at 08:24 -0400, Ralf Ertzinger wrote:
> Author: ertzing

> --- NEW FILE enemies-of-carlotta-1.0.3-Makefile.patch ---
> --- enemies-of-carlotta-1.0.3/Makefile	Tue Feb 25 22:32:13 2003
> +++ enemies-of-carlotta-1.0.3-mod/Makefile	Fri Oct  3 16:58:32 2003
> @@ -3,19 +3,22 @@
>  man1dir = $(prefix)/man/man1
>  man1dirfr = $(prefix)/man/fr/man1
>  sharedir = $(prefix)/share/enemies-of-carlotta
> +python = python
> +
> +DESTDIR =
>  
>  all: check
>  
>  check:
> -	python testrun.py
> +	$(python) testrun.py
>  
>  install:
> -	install -d $(bindir) $(sharedir) $(man1dir) $(man1dirfr)
> +	install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(sharedir) $(DESTDIR)/$(man1dir) $(DESTDIR)/$(man1dirfr)

The "/"'s after $(DESTDIR) are wrong. DESTDIR is supposed to be an
environment variable taking a directory prefix to "re-root" installs to
a different root.

(Note: "/" after DESTDIR in rpm specs are redundant, "/" after DESTDIR
in Makefiles are _bogus_ (== bug))

Ralf





More information about the fedora-extras-commits mailing list