~ubuntu-branches/debian/jessie/scsitools/jessie

« back to all changes in this revision

Viewing changes to scsidev/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Eric Delaunay
  • Date: 2004-06-25 00:59:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040625005911-i79gju5vgdxcqd7c
Tags: 0.7-2
* Fixed scsiformat bug.  Closes: #251426.
  Thanks to Erik Mouw <erik@harddisk-recovery.com> for providing a patch.
* Fixed not detected removable devices in scsiinfo.  Closes: #255715.
* Added italian template translations.  Closes: #251740.
* Renamed ca_ES.po to ca.po as there is no need in specifying a country part
  for the Catalan language.  Closes: #255875.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Generated automatically from Makefile.in by configure.
2
 
#
3
 
# $Id: Makefile.in,v 1.9 2000/09/05 09:22:35 garloff Exp $
4
 
#
5
 
## Makefile for scsidev.
6
 
 
7
 
#### Start of system configuration section. ####
8
 
 
9
 
srcdir = .
10
 
 
11
 
CC = gcc
12
 
 
13
 
INSTALL = /usr/bin/ginstall -c
14
 
INSTALL_PROGRAM = ${INSTALL}
15
 
INSTALL_DATA = ${INSTALL} -m 644
16
 
 
17
 
LIBS = 
18
 
 
19
 
VERSION = $(shell cat VERSION)
20
 
 
21
 
prefix = $(DESTDIR)/usr
22
 
exec_prefix = $(DESTDIR)
23
 
 
24
 
bindir = $(exec_prefix)/bin
25
 
docdir = $(prefix)/share/doc/packages
26
 
 
27
 
# Where to put the manual pages.
28
 
mandir = $(prefix)/share/man/man8
29
 
#mandir = $(prefix)/man/man8
30
 
# Extension (not including `.') for the manual page filenames.
31
 
manext = 8
32
 
 
33
 
#### End of system configuration section. ####
34
 
CFLAGS=-g -O2 -Wall -DVERSION=\"$(VERSION)\" # -g -DDEBUG
35
 
 
36
 
World: scsidev
37
 
 
38
 
scsidev: Makefile scsidev.c config.h
39
 
        ${CC} ${CFLAGS} -o scsidev scsidev.c
40
 
 
41
 
Makefile: Makefile.in config.status
42
 
        CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
43
 
 
44
 
config.status: configure
45
 
        $(SHELL) config.status --recheck
46
 
 
47
 
configure:  configure.in
48
 
        cd $(srcdir) && autoconf
49
 
 
50
 
install: scsidev
51
 
        install -o root -g root -m 755 -s scsidev $(bindir)
52
 
        install -o root -g root -m 644 scsidev.8 $(mandir)
53
 
        gzip -9f $(mandir)/scsidev.8
54
 
        if [ ! -d $(DESTDIR)/dev/scsi ]; then mkdir $(DESTDIR)/dev/scsi; fi
55
 
        #install -d $(docdir)/scsidev
56
 
        #install COPYING boot.diff README scsi.alias $(docdir)/scsidev/
57
 
 
58
 
dist: clean
59
 
        rm Makefile
60
 
        (cd .. && mv scsidev scsidev-$(VERSION) && tar cvvf - \
61
 
        --exclude scsidev-$(VERSION)/CVS scsidev-$(VERSION) \
62
 
        | gzip -9 > scsidev-$(VERSION).tar.gz; mv scsidev-$(VERSION) scsidev)
63
 
 
64
 
clean:
65
 
        rm -f *~ .*~ *.o scsidev
66
 
        /bin/rm -f config.status config.log config.cache config.h
67
 
 
68