* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
15 lines
767 B
Diff
15 lines
767 B
Diff
--- unix/Makefile.orig 2009-03-21 01:54:48.460031655 +0100
|
|
+++ unix/Makefile 2009-03-21 01:55:23.230935902 +0100
|
|
@@ -102,9 +102,9 @@ INSTALL_PROGRAM = $(INSTALL)
|
|
INSTALL_D = mkdir -p
|
|
# on some systems, manext=l and MANDIR=/usr/man/man$(manext) may be appropriate
|
|
manext = 1
|
|
-prefix = /usr/local
|
|
-BINDIR = $(prefix)/bin# where to install executables
|
|
-MANDIR = $(prefix)/man/man$(manext)# where to install man pages
|
|
+DESTDIR = /usr/local
|
|
+BINDIR = $(DESTDIR)/usr/bin# where to install executables
|
|
+MANDIR = $(DESTDIR)/usr/share/man/man$(manext)# where to install man pages
|
|
INSTALLEDBIN = $(BINDIR)/funzip$E $(BINDIR)/unzip$E $(BINDIR)/unzipsfx$E \
|
|
$(BINDIR)/zipgrep$E $(BINDIR)/zipinfo$E
|
|
INSTALLEDMAN = $(MANDIR)/funzip.$(manext) $(MANDIR)/unzip.$(manext) \
|