Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 561 → Rev 562

/video-contact-sheet/branches/1.13/Makefile
4,7 → 4,7
 
srcdir=dist
#VER=$(shell grep VERSION= $(srcdir)/vcs | sed 's/.*"\([^"]*\)".*/\1/')
VER=$(shell sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' $(srcdir)/vcs)
VER=$(shell sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' $(srcdir)/vcs | head -n1)
 
all:
@echo "-------------------------------------------------------------------------------"
/video-contact-sheet/branches/1.13/dist/BSDmakefile
3,7 → 3,7
# Makefile for BSD-make
#
 
VERSION!=sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' vcs
VERSION!=sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' vcs | head -n1
PACKAGER!=finger -lp `echo $USER` 2>/dev/null | head -n1 | cut -d: -f3
.if empty($(PACKAGER))
PACKAGER!=getent passwd "`id -un`" | cut -d: -f5 | cut -d, -f1
/video-contact-sheet/branches/1.13/dist/GNUmakefile
3,7 → 3,7
# Makefile for GNU-make
#
 
VERSION:=$(shell sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' vcs)
VERSION:=$(shell sed -n '/VERSION=/s/.*"\([^"]*\)".*/\1/p' vcs | head -n1)
PACKAGER:=$(shell finger -lp `echo $USER` 2>/dev/null | head -n1 | cut -d: -f3)
ifeq ($(PACKAGER),)
PACKAGER:=$(shell getent passwd "`id -un`" | cut -d: -f5 | cut -d, -f1)