Permalink
Browse files

Added directory structure creation

  • Loading branch information...
sephii committed Oct 6, 2011
1 parent 6a9041d commit 459bb3285ea600972cd8278297214b052d6b4eec
Showing with 6 additions and 6 deletions.
  1. +6 −6 Makefile.in
View
@@ -11,17 +11,17 @@ POSTINST=@POSTINST@
PREINST=@PREINST@
POSTRM=@POSTRM@
PRERM=@PRERM@
+TMP=tmp/$(PACKAGENAME)
clean:
rm -rf tmp
-structure:
- mkdir tmp
- cp -r packaging/* tmp
+structure: clean
+ mkdir -p $(TMP)/src $(TMP)/build $(TMP)/misc
+ cp -r * $(TMP)/src
-package: clean structure
+package: structure
fpm -s dir -t deb -n "$(PACKAGENAME)" -v "$(VERSION)" -m "$(MAINTAINER)" --url "$(URL)" \
$(DEPENDS) $(EXCLUDE) $(POSTINST) $(PREINST) $(POSTRM) $(PRERM) \
- -x packaging -x packaging_config.php -x ".git*" -x Makefile -a i386 .
- rm -rf tmp
+ -x packaging -x packaging_config.php -x ".git*" -x Makefile -a i386 $(TMP)/build

0 comments on commit 459bb32

Please sign in to comment.