diff --git a/Makefile b/Makefile index d7b7a8d..bdb04da 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,14 @@ # GNU General Public License for more details. DEPENDS = glibc +BUILDDEPS = ARCH = x86_64 URL = http://www.gnu.org/software/diffutils/ +REPO = main BRIEF = Display differences between files DESC = GNU Diffutils is a package of several programs related to finding \ differences between files. -SNAPVER = 2 +SNAPVER = 3 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') @@ -61,7 +63,9 @@ $(ROOT): $(SRCDIR)/src/diff mkdir -v $(ROOT); \ fi - @cd $(SRCDIR) && make mkdir_p='/bin/mkdir -p' install DESTDIR=$(ROOT) + @cd $(SRCDIR) && \ + make mkdir_p='/bin/mkdir -p' install DESTDIR=$(ROOT) && \ + rm -v $(ROOT)/usr/share/info/dir test: $(ROOT) @cd $(SRCDIR) && make check