~ubuntu-branches/ubuntu/karmic/quodlibet/karmic

« back to all changes in this revision

Viewing changes to mmkeys/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2009-01-30 23:55:34 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20090130235534-l4e72ulw0vqfo17w
Tags: 2.0-1ubuntu1
* Merge from Debian experimental (LP: #276856), remaining Ubuntu changes:
  + debian/patches/40-use-music-profile.patch:
    - Use the "Music and Movies" pipeline per default.
* Refresh the above patch for new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2004 Joe Wreschnig. Released under the terms of the GNU GPL.
2
 
 
3
 
mmkeys.so: build
4
 
        cp build/lib*/mmkeys.so .
5
 
 
6
 
build: mmkeyspy.c
7
 
        ./setup.py build
8
 
 
9
 
DEFS=`pkg-config --variable=defsdir pygtk-2.0`
10
 
 
11
 
mmkeyspy.c: mmkeys.defs mmkeys.override
12
 
        pygtk-codegen-2.0 --prefix mmkeys \
13
 
        --register $(DEFS)/gdk-types.defs \
14
 
        --register $(DEFS)/gtk-types.defs \
15
 
        --override mmkeys.override \
16
 
        mmkeys.defs > gen-tmp
17
 
        mv gen-tmp $@
18
 
 
19
 
clean:
20
 
        rm -f mmkeys.so *.o mmkeyspy.c
21
 
        rm -rf build dist
22
 
 
23
 
distclean: clean
24
 
        rm -f *~ gen-tmp