History

Don't prefix $prefix with $(DESTDIR) in configure

Prefixing $prefix with $(DESTDIR) is an error as it could lead for example to mandir being equal to $(DESTDIR)$prefix/man where $prefix itself is equal to $(DESTDIR)/usr/local which make man be equal to $(DESTDIR)$(DESTDIR)/usr/local/man

Thomas Preud'homme committed 16 years ago

Commit 6d4166d1 parent 8de9b7a1 file · +1 −1Browse files

Unified · Split

configure+1−1
@@ -290,7 +290,7 @@ echo "Creating config.mak and config.h" · 289 unmodified lines
290290 echo "# Automatically generated by configure - do not modify" > config.mak
291291 echo "/* Automatically generated by configure - do not modify */" > $TMPH
292292
293−echo "prefix=\$(DESTDIR)$prefix" >> config.mak
293+echo "prefix=$prefix" >> config.mak
294294 echo "bindir=\$(DESTDIR)$bindir" >> config.mak
295295 echo "tccdir=\$(DESTDIR)$tccdir" >> config.mak
296296 echo "libdir=\$(DESTDIR)$libdir" >> config.mak

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t