Skip to content

Commit

Permalink
Added directory structure creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sephii committed Oct 6, 2011
1 parent 6a9041d commit 459bb32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.