~ubuntu-branches/ubuntu/quantal/usb-modeswitch/quantal

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2009-11-03 11:02:31 UTC
  • Revision ID: james.westby@ubuntu.com-20091103110231-6ldcm8jt48x39qix
Tags: 1.0.5-1
* New 1.0.5 upstream version
  - Configurations are now stored in independent files under
    /etc/usb_modeswitch.d/
  - The devices detection is greatly improved by having a broader set of
    detection fields (Closes: #527122).
  - Two new binaries: usb_modeswitch_sh and usb_modeswitch_tcl.
* Adaptation to new upstream:
  - Add tclsh to Depends.
  - Drop mkrules.py and thus python B-D (Closes: #535445).
  - Update manpage to 1.0.5 (add --version)
* Patches:
  - 01_correct_broken_huawei_conf.patch : refresh. 
  - 02_umconf_is_no_exec.patch          : remove, merged upstream.
  - 03_build_system_to_policy.patch     : refresh.
  - 04_convert_umconf_to_unicode.patch  : Add to get everything in utf-8.
                                          Thanks to W. Martin Borgert.
  - 05_move_wrappers_to_usr.patch       : Add. Moves wrappers to specific
                                          /usr/share/usb_modeswitch
  - 06_disables_rules.patch             : Add to get the udev rules "opt-in"
                                          (See NEWS.Debian)
  - Add headers to make them all comply to DEP-3 Patch Tagging Guidelines.
* Bump Standards-Version to 3.8.3
  - Add README.source.
* Document the major changes in NEWS.Debian
* Switch to source format 3.0 (quilt). Drop quilt Build-Dep and dh snippet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
PROG        = usb_modeswitch
2
 
VERS        = 0.9.7
 
2
VERS        = 1.0.4
3
3
STRIP       = strip
4
4
CC          = gcc
5
 
CCFLAGS     = -l usb
 
5
CFLAGS     += -l usb
6
6
RM          = /bin/rm -f
7
7
OBJS        = usb_modeswitch.c
8
8
PREFIX      = $(DESTDIR)/usr
12
12
.PHONY:     clean
13
13
all:        $(PROG)
14
14
$(PROG):    $(OBJS)
15
 
              $(CC) $(CCFLAGS) -o $(PROG) $(OBJS)
16
 
              $(STRIP) $(PROG)
 
15
              $(CC) $(CFLAGS) -o $(PROG) $(OBJS)
17
16
 
18
17
clean:
19
18
              $(RM) ./usb_modeswitch
22
21
        mkdir -p $(SBINDIR)
23
22
        install ./usb_modeswitch $(SBINDIR)
24
23
        mkdir -p $(ETCDIR)
25
 
        install ./usb_modeswitch.conf $(ETCDIR)
 
24
        install --mode=644 ./usb_modeswitch.conf $(ETCDIR)
26
25
 
27
26
uninstall: clean
28
27
        $(RM) /usr/sbin/usb_modeswitch
29
28
        $(RM) /etc/usb_modeswitch.conf
30
29
 
31
30
.PHONY:     clean install uninstall
 
31
 
 
32
integrated:
 
33
        make -f Makefile.integrated
 
34
 
 
35
integrated_install:
 
36
        make -f Makefile.integrated install
 
37