The following changes were made to Makefile:
* added BRIEF * moved to new version scheme * corrected dependency (gcc->libgcc) * removed useless 'test' target
This commit is contained in:
11
Makefile
11
Makefile
@@ -8,18 +8,19 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
DEPENDS = gcc,glibc
|
||||
DEPENDS = glibc,libgcc
|
||||
ARCH = x86_64
|
||||
URL = http://www.gnu.org/software/groff/
|
||||
BRIEF = Typsetting library
|
||||
DESC = Groff (GNU troff) is a typesetting system that reads plain text mixed \
|
||||
with formatting commands and produces formatted output.
|
||||
SNAPVER = sr1
|
||||
SNAPVER = 2
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||
PATCHDIR := $(PWD)/SRC/patches
|
||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER)
|
||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
|
||||
|
||||
include /usr/share/snap/Makefile.snaplinux
|
||||
|
||||
@@ -63,10 +64,6 @@ $(ROOT): $(SRCDIR)/src/roff/groff/groff
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
rm -v $(ROOT)/usr/share/info/dir
|
||||
|
||||
test: $(ROOT)
|
||||
@cd $(SRCDIR); \
|
||||
make check
|
||||
|
||||
clean:
|
||||
@rm -rvf $(ROOT) \
|
||||
$(SNAPINFO) \
|
||||
|
||||
Reference in New Issue
Block a user