]> git.pld-linux.org Git - packages/blobAndConquer.git/commitdiff
- don't install usless files
authorlisu <lisu@pld-linux.org>
Mon, 26 Oct 2009 11:06:49 +0000 (11:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blobAndConquer-usless_files.patch -> 1.1

blobAndConquer-usless_files.patch [new file with mode: 0644]

diff --git a/blobAndConquer-usless_files.patch b/blobAndConquer-usless_files.patch
new file mode 100644 (file)
index 0000000..69cc9b0
--- /dev/null
@@ -0,0 +1,42 @@
+--- blobAndConquer-1.09/makefile~      2009-10-26 12:41:03.000000000 +0000
++++ blobAndConquer-1.09/makefile       2009-10-26 12:48:03.000000000 +0000
+@@ -1,6 +1,5 @@
+ PROG = blobAndConquer
+ PAKNAME = blobAndConquer.pak
+-DOCS = doc/*
+ ICONS = icons/
+ PAKDIRS = data gfx music sound textures
+@@ -13,7 +12,6 @@
+ PREFIX = $(DESTDIR)/usr
+ BINDIR = $(PREFIX)/bin/
+ DATADIR = $(PREFIX)/share/blobAndConquer/
+-DOCDIR = $(PREFIX)/share/doc/$(PROG)/
+ ICONDIR = $(PREFIX)/share/icons/hicolor/
+ MENUDIR = $(PREFIX)/share/applications/
+ LOCALEDIR = $(PREFIX)/share/locale/
+@@ -23,7 +21,7 @@
+ CXXFLAGS += -Wmissing-format-attribute -Wmissing-noreturn
+ CXXFLAGS += -Wdisabled-optimization
+ CXXFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK) -DDEV=$(DEV)
+-CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DGAMEPLAYMANUAL=\"$(DOCDIR)/index.html\" -Wall -pedantic
++CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -Wall -pedantic
+ CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" -g
+ LIBPATH = -L/usr/X11/lib -L/usr/X11R6/lib
+ LIBS = -lGL -lGLU `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz
+@@ -112,7 +110,6 @@
+       mkdir -p $(BINDIR)
+       mkdir -p $(DATADIR)
+-      mkdir -p $(DOCDIR)
+       mkdir -p $(ICONDIR)/16x16/apps
+       mkdir -p $(ICONDIR)/32x32/apps
+       mkdir -p $(ICONDIR)/64x64/apps
+@@ -121,7 +118,6 @@
+       install -m 755 $(PROG) $(BINDIR)/$(PROG)
+       install -m 644 $(PAKNAME) $(DATADIR)/$(PAKNAME)
+       
+-      cp -r $(DOCS) $(DOCDIR)
+       cp $(ICONS)$(PROG).png $(ICONDIR)32x32/apps/
+       cp $(ICONS)$(PROG).desktop $(MENUDIR)
This page took 0.079591 seconds and 4 git commands to generate.