Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-webphotoalbum-git / debian / rules @ 99e09bab

Historique | Voir | Annoter | Télécharger (959 octets)

1 5acb71ae Eric Seigne
#!/usr/bin/make -f
2
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
include /usr/share/cdbs/1/class/qmake.mk
5
6
# Add here any variable or target overrides you need.
7
QMAKE=qmake-qt4
8
CFLAGS=-O3
9
CXXFLAGS=-O3
10
DEST=/usr/share/ryxeo-webphotoalbum
11
EXECDEST=/usr/lib/ryxeo-webphotoalbum
12
BUILDTEMP=$(CURDIR)/debian/ryxeo-webphotoalbum
13
14
install/ryxeo-webphotoalbum::
15
	mkdir -p $(BUILDTEMP)/usr/bin/
16
	mkdir -p $(BUILDTEMP)/$(EXECDEST)
17
	mkdir -p $(BUILDTEMP)/$(EXECDEST)/lang
18 99e09bab Eric Seigne
	mkdir -p $(BUILDTEMP)/$(DEST)
19 5acb71ae Eric Seigne
	#mkdir -p $(BUILDTEMP)/$(DEST)/data
20
	mkdir -p $(BUILDTEMP)/usr/share/applications
21
	cp -a $(BUILDTEMP).wrapper $(BUILDTEMP)/usr/bin/ryxeo-webphotoalbum
22
	cp -a $(CURDIR)/debian/*.desktop $(BUILDTEMP)/usr/share/applications/
23 99e09bab Eric Seigne
	cp -a $(CURDIR)/images/ryxeo-webphotoalbum-48.png $(BUILDTEMP)/$(DEST)/
24 5acb71ae Eric Seigne
	#cp -a $(CURDIR)/lang/*.qm $(BUILDTEMP)/$(EXECDEST)/lang
25
	#cp -a $(CURDIR)/data/* $(BUILDTEMP)/$(DEST)/data
26
	cp -a $(CURDIR)/ryxeo-webphotoalbum $(BUILDTEMP)/$(EXECDEST)/
Redmine Appliance - Powered by TurnKey Linux