Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b78f98e689 |
4
Makefile
4
Makefile
@@ -14,7 +14,7 @@ URL = https://gitlab.com/procps-ng/procps
|
|||||||
BRIEF = Utilities providing process information
|
BRIEF = Utilities providing process information
|
||||||
DESC = procps is a set of command line and full-screen utilities that provide \
|
DESC = procps is a set of command line and full-screen utilities that provide \
|
||||||
information out of the pseudo-filesystem most commonly located at /proc
|
information out of the pseudo-filesystem most commonly located at /proc
|
||||||
SNAPVER = 1
|
SNAPVER = 2
|
||||||
|
|
||||||
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')
|
||||||
@@ -67,7 +67,7 @@ $(ROOT): $(SRCDIR)/watch
|
|||||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||||
install -d -v -m 755 $(ROOT)/lib && \
|
install -d -v -m 755 $(ROOT)/lib && \
|
||||||
mv -v $(ROOT)/usr/lib/libprocps.so.* $(ROOT)/lib && \
|
mv -v $(ROOT)/usr/lib/libprocps.so.* $(ROOT)/lib && \
|
||||||
ln -sfv ../../lib/$(readlink $(ROOT)/usr/lib/libprocps.so) \
|
ln -sfv ../../lib/$$(readlink $(ROOT)/usr/lib/libprocps.so) \
|
||||||
$(ROOT)/usr/lib/libprocps.so
|
$(ROOT)/usr/lib/libprocps.so
|
||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
|
|||||||
Reference in New Issue
Block a user