Skip to content

Commit

Permalink
Dateien über .gitattributes aus Archiv ausschließen
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 7, 2017
1 parent 6266105 commit b8f5430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
alkisImport.py export-subst
alkis-import.sh export-subst
.gitattributes export-ignore
.gitignore export-ignore
oci export-ignore
23 changes: 1 addition & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@ VERSION = 2.99
P=$(shell cat .pkg-$(VERSION) || echo 1)

O4W=osgeo4w/apps/$(PKG)
INSTFILES=\
alkis-import.sh re refilter.py custom \
alkisImport.py alkisImportDlg.ui about.ui logo.ico logo.svg \
alkis-schema.sql \
alkis-schema.gfs \
alkis-init.sql \
alkis-clean.sql \
alkis-update.sql \
alkis-functions.sql \
alkis-compat.sql \
alkis-signaturen.sql \
alkis-punktsignaturen.sql \
alkis-wertearten.sql \
alkis-wertearten-nrw.sql \
alkis-po-tables.sql \
alkis-ableitungsregeln.sql \
cleanGeometry.sql \
postcreate.d/nas2alb.sql \
postupdate.d/nas2alb.sql \
postprocessing.d/nas2alb.sql \
postprocessing.d/postnas-keytables.sql

all:

Expand All @@ -32,7 +11,7 @@ all:

package:
mkdir -p osgeo4w/apps/$(PKG)/postprocessing.d osgeo4w/bin osgeo4w/etc/postinstall osgeo4w/etc/preremove
git archive --format=tar --prefix=$(O4W)/ HEAD | tar -xf - $(addprefix $(O4W)/,$(INSTFILES))
git archive --format=tar --prefix=$(O4W)/ HEAD | tar -xf -
cp alkis-import.cmd osgeo4w/bin/$(PKG).cmd
cp postinstall.bat osgeo4w/etc/postinstall/$(PKG).cmd
cp preremove.bat osgeo4w/etc/preremove/$(PKG).cmd
Expand Down

0 comments on commit b8f5430

Please sign in to comment.