]> git.pld-linux.org Git - packages/asylum.git/blob - asylum-makefile.patch
- unify sourceforge URL
[packages/asylum.git] / asylum-makefile.patch
1 --- asylum-0.3.0/Makefile~      2009-02-23 14:15:13.000000000 +0100
2 +++ asylum-0.3.0/Makefile       2009-02-23 14:51:34.000000000 +0100
3 @@ -45,25 +45,21 @@
4         LIBS=-lm -lmingw32 -lSDL_mixer -lSDLmain -lSDL -mwindows
5  endif
6  ifeq ($(HOST),generic)
7 -       INSTALLBIN=/usr/games/asylum
8 -       INSTALLRESOURCEPATH=/usr/share/games/asylum
9 -       INSTALLHISCORES=/var/games/asylum
10 +       INSTALLBIN=$(DESTDIR)/usr/bin/
11 +       INSTALLRESOURCEPATH=$(DESTDIR)/usr/share/asylum
12 +       INSTALLHISCORES=$(DESTDIR)/var/games/asylum
13  endif
14  
15  default: build
16  
17  ifneq ($(HOST),mingw)
18  $(INSTALLBIN): asylum$(EXE) Makefile
19 +       mkdir -p $(INSTALLBIN)
20         cp asylum$(EXE) $(INSTALLBIN)
21 -       $(CHGRP) $(INSTALLGROUP) $(INSTALLBIN)
22 -       $(CHMOD) g+s $(INSTALLBIN)
23 -       $(CHMOD) a+x $(INSTALLBIN)
24  
25  install-resources: $(RESOURCES) Makefile
26         mkdir -p $(INSTALLRESOURCEPATH)
27         cp -r $(RESOURCES) $(INSTALLRESOURCEPATH)/
28 -       $(CHGRP) -R $(INSTALLGROUP) $(INSTALLRESOURCEPATH)/
29 -       $(CHMOD) -R a+rX $(INSTALLRESOURCEPATH)/
30  
31  install-hiscores: Makefile
32         mkdir -p $(INSTALLHISCORES)
33 @@ -71,8 +67,6 @@
34         touch $(INSTALLHISCORES)/PsycheHighScores
35         touch $(INSTALLHISCORES)/IdHighScores
36         touch $(INSTALLHISCORES)/ExtendedHighScores
37 -       $(CHGRP) -R $(INSTALLGROUP) $(INSTALLHISCORES)/*
38 -       $(CHMOD) -R 660 $(INSTALLHISCORES)/*
39  
40  install-binary: $(INSTALLBIN)
41  
This page took 1.231451 seconds and 3 git commands to generate.