Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b195edd60 | ||
|
|
ea28b05873 | ||
|
|
b39f050299 |
11
Makefile
11
Makefile
@@ -8,12 +8,12 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = glibc,libncurses
|
DEPENDS = glibc,ncurses
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = http://ex-vi.sourceforge.net/
|
URL = http://ex-vi.sourceforge.net/
|
||||||
BRIEF = Text editor
|
BRIEF = Text editor
|
||||||
DESC = The vi editor is one of the most common text editors on Unix.
|
DESC = The vi editor is one of the most common text editors on Unix.
|
||||||
SNAPVER = 5
|
SNAPVER = 8
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
@@ -52,10 +52,9 @@ $(ROOT): $(SRCDIR)/ex
|
|||||||
mkdir -v $(ROOT); \
|
mkdir -v $(ROOT); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT)
|
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||||
|
install -v -d -m 755 $(ROOT)/var && \
|
||||||
test: $(ROOT)
|
install -v -d -m 1777 $(ROOT)/var/tmp
|
||||||
# @cd $(SRCDIR) && make test
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
|
|||||||
Reference in New Issue
Block a user