Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (43 sloc) 1.33 KB
# This Makefile has been generated by the packaging/configure script. DO NOT
# modify it manually. If you want to modify the Makefile model, modify the
# packaging/Makefile.in file
NAME=@PACKAGENAME@
VERSION=@VERSION@
MAINTAINER=@MAINTAINER@
PACKAGENAME=@PACKAGENAME@
PACKAGETYPE=@PACKAGETYPE@
URL=@URL@
ARCH=@ARCH@
DEPENDS=@DEPENDS@
MAINTAINER=@MAINTAINER@
DESCRIPTION=@DESCRIPTION@
POSTINST=@POSTINST@
PREINST=@PREINST@
POSTRM=@POSTRM@
PRERM=@PRERM@
DEBCONFCONFIG=@DEBCONFCONFIG@
DEBCONFTEMPLATE=@DEBCONFTEMPLATE@
CONFIGFILE=@CONFIGFILE@
TEMPLATEDIR=@TEMPLATEDIR@
TMP=@TMPDIR@
ENV=
PTMP=$(TMP)/$(PACKAGENAME)
all: package
clean:
rm -rf $(PTMP)
structure: clean
mkdir -p $(PTMP)/src $(PTMP)/build $(PTMP)/misc
rsync -r --exclude packaging --exclude Makefile \
--exclude packaging_config.php --exclude '.git*' --exclude '.svn' \
--exclude '.CVS' --exclude "$(TMP)" . $(PTMP)/src
template: structure
./packaging/template $(PTMP)/src/$(TEMPLATEDIR) $(ENV)
build: template
@INSTALLCMD@
package: build
fpm -s dir -t $(PACKAGETYPE) -n "$(PACKAGENAME)" -v "$(VERSION)" -m "$(MAINTAINER)" --url "$(URL)" \
--description "$(DESCRIPTION)" $(DEPENDS) $(POSTINST) $(PREINST) $(POSTRM) $(PRERM) \
$(DEBCONFCONFIG) \
$(DEBCONFTEMPLATE) \
$(CONFIGFILE) \
-a $(ARCH) -C $(PTMP)/build -p $(PTMP)/$(PACKAGENAME)_$(VERSION)_$(ARCH).$(PACKAGETYPE) .
Something went wrong with that request. Please try again.