~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to include/Makefile.in

  • Committer: Chuck Short
  • Date: 2013-05-13 12:57:25 UTC
  • Revision ID: zulcss@ubuntu.com-20130513125725-llq8wsohyhq9idsy
* Merge from Debian.  Remaining changes:
  - debian/control:
    + remove Build-Depends on libpowerman0-dev
    + remove nut-powerman-pdu
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now
  - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
    groups unconditonally to handle the upgrade from hardy release.
  - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
    debian/rules: Install apport hooks for all top-level nut packages.
  - debian/rules: Use udev version for Ubuntu
  - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled
* Non-maintainer upload with fixes for wheezy.
* debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done
  by postinst during upgrade from lenny to squeeze (Really closes: #677054)
  Thanks to Andreas Beckmann for the review.
* Merge from Debian.  Remaining changes:
  - debian/control:
    + remove Build-Depends on libpowerman0-dev
    + remove nut-powerman-pdu
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now
  - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
    groups unconditonally to handle the upgrade from hardy release.
  - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
    debian/rules: Install apport hooks for all top-level nut packages.
  - debian/rules: Use udev version for Ubuntu
  - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled
* Dropped the following patches, no longer required:
  - debian/patches/CVE-2012-2944.patch (included upstream)
* Non-maintainer upload with fixes for wheezy.
* Only remove /etc/init.d/nut from previous versions of nut in nut-server
  postinst if there are no local changes.
* Also remove /etc/init.d/nut in nut-client postinst. Thanks to 
  Laurent Bigonville for the hint.
* Only fix permissions of configfiles on first install.
* debian/control: Fix typo in package description. Thanks to Julien Cristau
  for spotting this.
* Non-maintainer upload.
* debian/nut-client.preinst: revert /etc/nut/nut.conf mangling done by older
  versions of the postinst (Closes: #677054)
* debian/rules: Stop the nut-client before nut-server on systems using
  static
  boot ordering (Closes: #679451)
* debian/nut-server.postinst: Remove /etc/init.d/nut on upgrade
  (Closes: #677822)
* Rename nut-server.lintian-overrides to nut-client.lintian-overrides and
  adjust overrides now that ups-monitor is shipped in nut-client package
  (Closes: #677947)
* Add debian/patches/0001-fix-upsmon-regression.patch: Fix upsmon/upssched
  regression (Taken from upstream) (Closes: #679513)
* Move nut metapackage to Section: metapackages
* Also create nut user when installing nut-client package and do not delete
  it on purge anymore (Closes: #682000)
* Drop /etc/default/nut → /etc/nut/nut.conf migration code, migration
  happends before squeeze release and this was against policy to have a
  maintainer script modifying a conffile in the first place (Closes: #684392)
* Add dependency against adduser and lsb-base on nut-client package
* Be sure that client is stopped before the server also when using
  dependencies based boot
* Fix package descriptions (Closes: #678068)
* Also install /bin/upssched-cmd in nut-client package as this script is
  referenced in default upssched.conf config file
* debian/watch: Update watch file
* Be sure that all maintainer scripts are returning 0 at their end
* New upstream release (Closes: #671444)
* acknowledges NMU (Closes: #613643)
* debian/nut-client.init: fix action "start" and use of log_*_*msg
  LSB log functions (Closes: #675619)
* debian/nut-server.preinst: remove obsolete file(s) left in
  /etc/udev/rules.d and related processing: udev files are now located
  in /lib/udev/rules, and there is no reason to modify the dedicated
  USB UPS rules (52-nut-usbups.rules) (Closes: #660072)
* debian/nut-server.init: rewrite to match upsd / drivers startup scope
* debian/nut-client.init: created to match upsmon startup scope
  (Closes: #634858)
* debian/nut.TODO.Debian, debian/Makefile.am: updated to reflect the above
* debian/rules: install nut-client.init, and update to reflect the above
* debian/control, debian/Makefile.am: updated to reflect the above
* debian/control:
  - add Breaks on nut-server (<< 2.6.3-1~)
  - bump Standards-Version to 3.9.3
* debian/nut-client.links: renamed from debian/nut-server.links, since
  ups-monitor is now provided by nut-client initscript
* debian/nut.README.Debian: renamed from nut-server.README.Debian,
  to provide it with both client and server packages
* debian/nut-server.install: add missing drivers (clone-outlet,
  liebert-esp2 and microdowell)
* debian/nut-server.manpages: add missing manual pages (apcsmart-old,
  ivtscd, liebert-esp2 and microdowell)
* SECURITY UPDATE: remote denial of service
 - debian/CVE-2012-2944.patch: limit the set of parsed characters to ' '
   through '~'
 - CVE-2012-2944
* Merge from Debian testing.  Remaining changes:
  - debian/control: Drop Build-Depends on libpowerman0-dev (currently in 
    universe)
  - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut 
    groups unconditonally to handle the upgrade from hardy release.
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
  - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install, 
    debian/rules: Install apport hooks for all top-level nut packages.
  - debian/rules: Use udev version for Ubuntu.
  - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
* New upstream release (Closes: #635186, #598741, #633756, #638221)
* debian/nut-server.{install,manpages}: add richcomm_usb
* debian/nut-server.install, debian/rules: install Avahi service file
* debian/rules, nut-client.install: install Augeas lenses
* debian/nut-server.README.Debian: clarify udev explanation (Closes: #529664)
* debian/patches/0001-fix_spelling_and_typo.patch,
  debian/patches/0003-libupsclient-version.patch: removed since these are now
  fixed upstream
* debian/patches/series: updated
* Merge from debian unstable.  Remaining changes:
  - debian/control: Drop Build-Depends on libpowerman0-dev (currently in 
    universe)
  - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut 
    groups unconditonally to handle the upgrade from hardy release.
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
  - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install, 
    debian/rules: Install apport hooks for all top-level nut packages.
  - debian/rules: Use udev version for Ubuntu.
  - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
* New upstream release (Closes: #594989)
* debian/control:
  - remove legacy Build-Depends for nut-hal-drivers on libdbus and libglib
  - Build-Depends-Indep on docbook-xsl for offline document
    generation (Closes: #635347)
* debian/nut-server.install: add apcsmart-old
* debian/nut-server.init:
  - add udev as Required-Start/Stop (Closes: #642412)
  - remove legacy support for /etc/default/nut (Closes: #638021)
* debian/patches/0003-libupsclient-version.patch: added to fix the missing
  libupsclient version info bump
* debian/libupsclient1-dev.links: update link name
* debian/libupsclient1.symbols: add with upscli_tryconnect
* debian/nut.TODO.Debian: update and complete the TODO list
* Fix FTBFS for Ubuntu (LP: #815760):
  - debian/control: Build-Depends-Indep on docbook-xsl for offline 
    document generation.
* Merge from Debian unstable (LP: #811976). Remaining changes:
  - debian/control: Drop Build-Depends on libpowerman0-dev (currently in 
    universe)
  - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut 
    groups unconditonally to handle the upgrade from hardy release.
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
  - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install, 
    debian/rules: Install apport hooks for all top-level nut packages.
  - debian/rules: Use udev version for Ubuntu.
  - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
* debian/nut.README.Debian: Adjust udev rules naming for permissions override
  (Closes: #529664)
* Re-add and refresh debian/patches/0001-fix_spelling_and_typo.patch:
  Some typos and spelling errors remain.
* Split nut package into nut-client and nut-server, keep nut package as
  metapackage
* Generate PDF and html doc and install it in nut-doc package
* debian/rules:
  - List non-installed files
  - Includes python-module.mk
  - Add flags to build documentation and install it
* debian/control:
  - Add python-nut package and add python build-dependency
  - Set nut-powerman-pdu priority to extras
  - Add nut-monitor package
  - Add nut-doc package and add required C/R/P
  - Add libups-nut-perl package
* debian/nut-server.prerm: Remove /var/run/nut during removal
* Merge from debian unstable.  Remaining changes:
  - debian/control:
    + Drop Build-Depends on libpowerman0-dev (currently in universe)
  - debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
    unconditonally to handle the upgrade from hardy release.
  - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
  - debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
  - debian/rules: Use udev version for Ubuntu.
* debian/patches/backport-fix-lp753661.patch: Refreshed.
* Drop changes due to .pc being not clean.
* New upstream release (Closes: #595953, #614842, #595773)
* debian/patches/*.patch: removed since these are now fixed upstream
* Drop HAL package and build-dependencies (Closes: #613197)
* debian/control:
  - Bump Standards-Version to 3.9.2 (no further changes)
  - Drop autotools build-dependencies (not needed anymore)
  - Drop non-existing build-dependencies
* debian/rules:
  - Correctly pass flags to configure
* Merge from debian unstable (LP: #789323).  Remaining changes:
  + debian/control:
    - Update maintainer as per spec.
    - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
    - Drop libpowerman0-dev from the Build-Depends (currently in universe)
  + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
    unconditonally to handle the upgrade from hardy release.
  + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
  + debian/nul-hal-drivers.{docs,install,postinst,preinst}: Dropped since hal is in universe now
  + debian/nut.links: must create the init script link, used if the upse needs to be powered down
    (LP: #357583)
  + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
  + debian/patches/backport-fix-lp753661.patch
  + Dropped:
    - debian/patches/fix_pc_file.patch: replaced by debian's 0002-fix_libupsclient_pc.patch
* debian/patches/fix_pc_file.patch: add DEP3 patch header
* debian/patches/debian-changes-2.6.0-1: remove that accidental file
* debian/nut-snmp.docs: Distribute snmp.txt doc file (Closes: #548295)
* d/p/0001-fix_spelling_and_typo.patch: Update and refresh
* debian/nut.lintian-overrides: Fix typo
* debian/patch/0002-fix_libupsclient_pc.patch: Fix libupsclient.pc (Closes:
  #624255)
* debian/rules:
  - Switch to cdbs
  - Remove not existing configure options (Closes: #611813)
  - Drop Phony rules (Closes: #613699)
* debian/control:
  - Add cdbs build-dependency
* debian/patches/backport-fix-lp753661.patch: Backport fix 
  to trim extraneous end-of-line, in buggy HID string tables, 
  which results in upsc breaking the communication pipe.
  (LP: #753661)
* fix_pc_file.patch: fix .pc source files by using LIBSSL_LIBS instead of
  LIBSSL_LDFLAGS to avoid a FTBFS in packages that uses libupsclient.pc
  (LP: #743484)
* Merge from Debian unstable, remaining changes:
  + debian/control:
    - Update maintainer as per spec.
    - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
    - Drop libpowerman0-dev from the Build-Depends (currently in universe)
  + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
    unconditonally to hanle the upgrade from hardy release.
  + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
  + debian/nul-hal-drivers.{docs,install,postinst,preinst}: Dropped since hal is in universe now
  + debian/nut.links: must create the init script link, used if the upse needs to be powered down
    (LP: #357583)
  + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
  + Dropped:
    - debian/patches/0002-fix_udev_action.patch: Accepted upstream.
    - debian/patches/0004-netvision-improvements-lp-600950: no longer needed.
    - debian/patches/0005-fix-nut-m4.patch: no longer needed.
    - debian/patches/9999-autoconf.patch: no longer needed.
* New upstream release (Closes: #575176, #588648, #609597, #687985)
* debian/patches/*.patch: removed since these are now fixed upstream
* debian/patches/0001-fix_spelling_and_typo.patch,
  debian/patches/series: reworked to match the new upstream release
* debian/nut.install, debian/nut.manpages: remove obsolete reference to
  megatec and megatec_usb, now respectively replaced by blazer_ser and
  blazer_usb
* debian/nut.docs: limit distributed documentation
* debian/control:
  - Wrap build-dependencies
  - Change nut-cgi Recommends to apache2 | httpd-cgi
* debian/nut.postinst: Only trigger USB subsystem, should Closes: #574769
* debian/patches/0002-fix_udev_action.patch: Use SUBSYSTEM instead of BUS
* debian/control, debian/rules, 
  debian/nut-hal-drivers.{docs,install,postinst,preinst}: Drop
  nut-hal-drivers since Nut doesnt go into universe.
* Split patches/debian-changes-2.4.3-2ubuntu1 into
  patches/0005-fix-nut-m4.patch and patches/9999-autoconf.patch
* Readd lost debian/patches0004-netvision-improvements-lp-600950.patch patch
  (LP: #707050)
* debian/patches/0002-fix_udev_action.patch:
  Change BUS to SUBSYSTEMS, since the former is deprecated. (LP: #692171)
* debian/nut.postinst: Uncomment missing call to adduser
* debian/control: Drop hal build dependency, we don't need the daemon to
  build the package. Add a hal dependency to nut-hal-drivers, which is the
  only thing that actually needs it.
* Merge from debian unstable.  Remaining changes:
  + debian/control:
    - Update maintainer as per spec.
    - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
    - Drop libpowerman0-dev from the Build-Depends (currently in universe)
  + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
    unconditonally to hanle the upgrade from hardy release.
  + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
  + debian/nut.links: must create the init script link, used if the upse needs to be powered down
    (LP: #357583)
  + debian/nut.postinst: Update udevadm trigger.
    "libusb_get_report: error sending control message: 
     Operation not permitted" error on some UPS devices. (LP: #572262)
  + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
  + debian/patches/netvision-improvements-lp-600950.patch: Add improvements
    for netvision UPSes
  + Fix FTBFS with ld --as-needed.
  + Dropped:
    - debian/patches/03_udev_rules_change.dpatch: Use debian's instead.
    - debian/patches/04_nut_small-buffers.dpatch: Use debian's instead.
* debian/control:
  - Bump Standards-Version to 3.9.1
  - Update Vcs-* fields to new GIT repository
  - Add myself as Uploaders
* Switch to dpkg-source 3.0 (quilt) format (Closes: #573601)
* debian/patches/0001-low_speed_usb_ups.patch: Use patch system for changes
  that were applied directly in the source
* Add debian/gbp.conf file
* debian/watch: Bump version to 3
* Add debian/patches/0002-fix_udev_action.patch: Also set permission for
  "change" udev ACTION (Closes: #557178)
* debian/nut.postrm: Do not try to remove nut user is deluser is not
  installed anymore
* debian/nut.manpages: Install manpage nut.conf.5 (Closes: #528222)
* debian/copyright: Fix copyright-with-old-dh-make-debian-copyright
* Remove nut-snmp.lintian-overrides, not needed anymore
* debian/patches/0003-fix_spelling_and_typo.patch: Fix some spelling errors
* Add debian/libupsclient1.symbols file
* Add debian/nut.links: Re-add /etc/init.d/ups-monitor that was lost for
  some reasons (Closes: #592351)
* debian/nut.lintian-overrides: Add override for
  init.d-script-does-not-provide-itself /etc/init.d/ups-monitor
* Drop libupsclient1.post{inst,rm}: ldconfig call is added automatically by
  debhelper
* debian/libupsclient1-dev.install: Do not ship /lib/libupsclient.la anymore
* debian/rules: Remove dpatch logic as we are using package source version
  '3.0 (quilt)'
* debian/compat: Bump debhelper compatibility to 8
* Non-maintainer upload.
* drivers/libhid.c: Apply r2407 from upstream to fix bug with some
  low speed UPS devices. (Closes: #583371)
* Fix FTBFS with ld --as-needed.
* debian/patches/netvision-improvements-lp-600950.patch: Add improvements for netvision UPSes 
  (LP: #600950) 
* debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook. 
* debian/patches/04_nut-small-buffers.dpatch: Fix "libusb_get_report: error sending control message: 
  Operation not permitted" error on some UPS devices. (LP: #572262)
* debian/nut.postinst: Revert dropping of --action=change. "add" events must
  not ever be triggered automatically.
* Add 03_udev_rules_change.dpatch: Run udev rules on change events, too.
* debian/control: grr...fix ftbfs. 
* Merge from debian testing.  Remaining changes (LP: #535152):
  + debian/control:
    - Update maintainer as per spec.
    - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
    - Drop libpowerman0-dev from the Build-Depends (currently in universe)
  + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
    unconditonally to hanle the upgrade from hardy release.
  + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
  + debian/nut.links: must create the init script link, used if the upse needs to be powered down
    (LP: #357583)
  + debian/nut.postinst: Update udevadm trigger.
  + Dropped:
    - debian/patches/02-fix-trust-pw4130m.dpatch: No longer needed.
* New upstream release (Closes: #544390, #528222, #539747, #526811,
  #562064)
* debian/nut.install, debian/nut.manpages:
  - remove cyberpower driver and manpage
  - add bestfortress, clone and ivtscd drivers and manpages
* debian/rules:
  - change udev dir to /lib/udev (Closes: #522327)
  - replace deprecated calls to 'dh_clean -k' by dh_prep (Closes: #536599)
* debian/rules, debian/nut.install, debian/nut.install,
  debian/nut.README.Debian: install configuration files, without the
  sample suffix (Closes: #528641)
* debian/nut.links: restored (Closes: #522506)
* debian/nut.init:
  - source nut.conf instead of default/nut for POWEROFF_WAIT(Closes:
    #538173)
  - fix status checking (Closes: #538785)
  - improve detection of non configured system and beautify related
    output (Closes: #563112)
  - use 'invoke-rc.d' instead of calling the reboot script directly
  - add $remote_fs to Required-Start and Required-Stop
* debian/nut.postrm: remove udev files and simplify cleanup (Closes:
  #541629)
* debian/control:
  - remove Luca Filipozzi from the Uploaders list (Closes: #568987)
  - update Standards-Version to 3.8.4
  - remove the debconf dependency
  - bump debhelper version to (>= 7) in Build-Depends, for dh_prep
  - add Breaks on nut-hal-drivers to ensure we have correct udev version
* Remove debconf support since it was related to really old nut
  version (Closes: #518056):
  - remove nut-cgi.config, nut.config, nut-cgi.templates, nut.templates,
    and po/ directory
  - update nut-cgi.postinst
* debian/nut.dirs: remove /var/run/nut to conform to Debian Policy
* debian/nut.postint:
  - create /var/run/nut if needed
  - improve security checks
* debian/nut.README.Debian: add a security note for ups.conf
* debian/watch: URL update
* debian/patches/02-fix-trust-pw4130m.dpatch: Fix issues with Trust
  PW-4130M UPS. (LP: #447586) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.10.1 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# Inc.
6
7
# This Makefile.in is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy and/or distribute it,
8
9
# with or without modifications, as long as this notice is preserved.
15
16
@SET_MAKE@
16
17
VPATH = @srcdir@
17
18
pkgdatadir = $(datadir)/@PACKAGE@
 
19
pkgincludedir = $(includedir)/@PACKAGE@
18
20
pkglibdir = $(libdir)/@PACKAGE@
19
 
pkgincludedir = $(includedir)/@PACKAGE@
 
21
pkglibexecdir = $(libexecdir)/@PACKAGE@
20
22
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21
23
install_sh_DATA = $(install_sh) -c -m 644
22
24
install_sh_PROGRAM = $(install_sh) -c
36
38
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
37
39
        $(srcdir)/config.h.in
38
40
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
 
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_create_stdint_h.m4 \
 
41
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
40
42
        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
41
43
        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
42
44
        $(top_srcdir)/m4/lt~obsolete.m4 \
43
45
        $(top_srcdir)/m4/nut_arg_with.m4 \
44
 
        $(top_srcdir)/m4/nut_check_ipv6.m4 \
 
46
        $(top_srcdir)/m4/nut_check_asciidoc.m4 \
 
47
        $(top_srcdir)/m4/nut_check_libavahi.m4 \
 
48
        $(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
45
49
        $(top_srcdir)/m4/nut_check_libgd.m4 \
46
50
        $(top_srcdir)/m4/nut_check_libhal.m4 \
 
51
        $(top_srcdir)/m4/nut_check_libltdl.m4 \
47
52
        $(top_srcdir)/m4/nut_check_libneon.m4 \
48
53
        $(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
49
54
        $(top_srcdir)/m4/nut_check_libpowerman.m4 \
51
56
        $(top_srcdir)/m4/nut_check_libusb.m4 \
52
57
        $(top_srcdir)/m4/nut_check_libwrap.m4 \
53
58
        $(top_srcdir)/m4/nut_check_os.m4 \
 
59
        $(top_srcdir)/m4/nut_config_libhal.m4 \
54
60
        $(top_srcdir)/m4/nut_report_feature.m4 \
55
61
        $(top_srcdir)/m4/nut_type_socklen_t.m4 \
56
62
        $(top_srcdir)/configure.in
59
65
mkinstalldirs = $(install_sh) -d
60
66
CONFIG_HEADER = config.h
61
67
CONFIG_CLEAN_FILES =
 
68
CONFIG_CLEAN_VPATH_FILES =
62
69
SOURCES =
63
70
DIST_SOURCES =
64
71
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
72
A2X = @A2X@
65
73
ACLOCAL = @ACLOCAL@
66
74
AMTAR = @AMTAR@
67
75
AR = @AR@
 
76
ASCIIDOC = @ASCIIDOC@
68
77
AUTOCONF = @AUTOCONF@
69
78
AUTOHEADER = @AUTOHEADER@
70
79
AUTOMAKE = @AUTOMAKE@
71
80
AWK = @AWK@
 
81
BINDIR = @BINDIR@
72
82
CC = @CC@
73
83
CCDEPMODE = @CCDEPMODE@
74
84
CFLAGS = @CFLAGS@
76
86
CPP = @CPP@
77
87
CPPFLAGS = @CPPFLAGS@
78
88
CYGPATH_W = @CYGPATH_W@
 
89
DBLATEX = @DBLATEX@
79
90
DEFS = @DEFS@
80
91
DEPDIR = @DEPDIR@
 
92
DLLTOOL = @DLLTOOL@
 
93
DOC_BUILD_LIST = @DOC_BUILD_LIST@
81
94
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
82
95
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
83
96
DRIVER_MAN_LIST = @DRIVER_MAN_LIST@
94
107
HAL_DEVICE_MATCH_KEY = @HAL_DEVICE_MATCH_KEY@
95
108
HAL_FDI_PATH = @HAL_FDI_PATH@
96
109
HAL_USER = @HAL_USER@
97
 
HAVE_GLIB_2_14 = @HAVE_GLIB_2_14@
98
110
INSTALL = @INSTALL@
99
111
INSTALL_DATA = @INSTALL_DATA@
100
112
INSTALL_PROGRAM = @INSTALL_PROGRAM@
102
114
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
103
115
LD = @LD@
104
116
LDFLAGS = @LDFLAGS@
 
117
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
 
118
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
105
119
LIBGD_CFLAGS = @LIBGD_CFLAGS@
106
120
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
107
121
LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
108
 
LIBHAL_LDFLAGS = @LIBHAL_LDFLAGS@
 
122
LIBHAL_LIBS = @LIBHAL_LIBS@
 
123
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
 
124
LIBIPMI_LIBS = @LIBIPMI_LIBS@
 
125
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
 
126
LIBLTDL_LIBS = @LIBLTDL_LIBS@
109
127
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
110
 
LIBNEON_LDFLAGS = @LIBNEON_LDFLAGS@
 
128
LIBNEON_LIBS = @LIBNEON_LIBS@
111
129
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
112
 
LIBNETSNMP_LDFLAGS = @LIBNETSNMP_LDFLAGS@
 
130
LIBNETSNMP_LIBS = @LIBNETSNMP_LIBS@
113
131
LIBOBJS = @LIBOBJS@
114
132
LIBPOWERMAN_CFLAGS = @LIBPOWERMAN_CFLAGS@
115
 
LIBPOWERMAN_LDFLAGS = @LIBPOWERMAN_LDFLAGS@
 
133
LIBPOWERMAN_LIBS = @LIBPOWERMAN_LIBS@
116
134
LIBS = @LIBS@
117
135
LIBSSL_CFLAGS = @LIBSSL_CFLAGS@
118
 
LIBSSL_LDFLAGS = @LIBSSL_LDFLAGS@
 
136
LIBSSL_LIBS = @LIBSSL_LIBS@
119
137
LIBTOOL = @LIBTOOL@
120
138
LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
121
 
LIBUSB_LDFLAGS = @LIBUSB_LDFLAGS@
 
139
LIBUSB_LIBS = @LIBUSB_LIBS@
122
140
LIBWRAP_CFLAGS = @LIBWRAP_CFLAGS@
123
 
LIBWRAP_LDFLAGS = @LIBWRAP_LDFLAGS@
 
141
LIBWRAP_LIBS = @LIBWRAP_LIBS@
124
142
LIPO = @LIPO@
125
143
LN_S = @LN_S@
126
144
LTLIBOBJS = @LTLIBOBJS@
127
145
MAINT = @MAINT@
128
146
MAKEINFO = @MAKEINFO@
 
147
MANIFEST_TOOL = @MANIFEST_TOOL@
129
148
MKDIR_P = @MKDIR_P@
130
149
NETLIBS = @NETLIBS@
131
150
NM = @NM@
132
151
NMEDIT = @NMEDIT@
 
152
NUT_NETVERSION = @NUT_NETVERSION@
 
153
OBJDUMP = @OBJDUMP@
133
154
OBJEXT = @OBJEXT@
134
155
OS_NAME = @OS_NAME@
135
156
OTOOL = @OTOOL@
139
160
PACKAGE_NAME = @PACKAGE_NAME@
140
161
PACKAGE_STRING = @PACKAGE_STRING@
141
162
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
163
PACKAGE_URL = @PACKAGE_URL@
142
164
PACKAGE_VERSION = @PACKAGE_VERSION@
143
165
PATH_SEPARATOR = @PATH_SEPARATOR@
 
166
PIDPATH = @PIDPATH@
 
167
PKG_CONFIG = @PKG_CONFIG@
 
168
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
 
169
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 
170
PORT = @PORT@
144
171
RANLIB = @RANLIB@
145
172
RUN_AS_GROUP = @RUN_AS_GROUP@
146
173
RUN_AS_USER = @RUN_AS_USER@
 
174
SBINDIR = @SBINDIR@
147
175
SED = @SED@
148
176
SERLIBS = @SERLIBS@
149
177
SET_MAKE = @SET_MAKE@
151
179
STATEPATH = @STATEPATH@
152
180
STRIP = @STRIP@
153
181
SUN_LIBUSB = @SUN_LIBUSB@
 
182
TREE_VERSION = @TREE_VERSION@
154
183
VERSION = @VERSION@
155
184
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
156
185
abs_builddir = @abs_builddir@
157
186
abs_srcdir = @abs_srcdir@
158
187
abs_top_builddir = @abs_top_builddir@
159
188
abs_top_srcdir = @abs_top_srcdir@
 
189
ac_ct_AR = @ac_ct_AR@
160
190
ac_ct_CC = @ac_ct_CC@
161
191
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
162
192
am__include = @am__include@
192
222
libexecdir = @libexecdir@
193
223
localedir = @localedir@
194
224
localstatedir = @localstatedir@
195
 
lt_ECHO = @lt_ECHO@
196
225
mandir = @mandir@
197
226
mkdir_p = @mkdir_p@
198
227
oldincludedir = @oldincludedir@
205
234
sharedstatedir = @sharedstatedir@
206
235
srcdir = @srcdir@
207
236
sysconfdir = @sysconfdir@
 
237
systemdsystemshutdowndir = @systemdsystemshutdowndir@
 
238
systemdsystemunitdir = @systemdsystemunitdir@
208
239
target = @target@
209
240
target_alias = @target_alias@
210
241
target_cpu = @target_cpu@
211
242
target_os = @target_os@
212
243
target_vendor = @target_vendor@
 
244
top_build_prefix = @top_build_prefix@
213
245
top_builddir = @top_builddir@
214
246
top_srcdir = @top_srcdir@
215
247
udevdir = @udevdir@
216
248
EXTRA_DIST = attribute.h common.h extstate.h parseconf.h proto.h        \
217
 
 state.h timehead.h upsconf.h
 
249
 state.h timehead.h upsconf.h nut_stdint.h
218
250
 
219
251
 
220
252
# http://www.gnu.org/software/automake/manual/automake.html#Clean
221
 
BUILT_SOURCES = nut_version.h nut_stdint.h
222
 
DISTCLEANFILES = nut_stdint.h
 
253
BUILT_SOURCES = nut_version.h
223
254
CLEANFILES = nut_version.h
224
255
all: $(BUILT_SOURCES) config.h
225
256
        $(MAKE) $(AM_MAKEFLAGS) all-am
229
260
        @for dep in $?; do \
230
261
          case '$(am__configure_deps)' in \
231
262
            *$$dep*) \
232
 
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
233
 
                && exit 0; \
 
263
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 
264
                && { if test -f $@; then exit 0; else break; fi; }; \
234
265
              exit 1;; \
235
266
          esac; \
236
267
        done; \
237
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  include/Makefile'; \
238
 
        cd $(top_srcdir) && \
239
 
          $(AUTOMAKE) --gnu  include/Makefile
 
268
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \
 
269
        $(am__cd) $(top_srcdir) && \
 
270
          $(AUTOMAKE) --gnu include/Makefile
240
271
.PRECIOUS: Makefile
241
272
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
242
273
        @case '$?' in \
254
285
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
255
286
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
256
287
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
288
$(am__aclocal_m4_deps):
257
289
 
258
290
config.h: stamp-h1
259
291
        @if test ! -f $@; then \
265
297
        @rm -f stamp-h1
266
298
        cd $(top_builddir) && $(SHELL) ./config.status include/config.h
267
299
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
268
 
        cd $(top_srcdir) && $(AUTOHEADER)
 
300
        ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
269
301
        rm -f stamp-h1
270
302
        touch $@
271
303
 
300
332
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
301
333
          if test -d $$d/$$file; then \
302
334
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
335
            if test -d "$(distdir)/$$file"; then \
 
336
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
337
            fi; \
303
338
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
304
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
339
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
340
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
305
341
            fi; \
306
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
342
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
307
343
          else \
308
 
            test -f $(distdir)/$$file \
309
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
344
            test -f "$(distdir)/$$file" \
 
345
            || cp -p $$d/$$file "$(distdir)/$$file" \
310
346
            || exit 1; \
311
347
          fi; \
312
348
        done
 
349
        $(MAKE) $(AM_MAKEFLAGS) \
 
350
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
351
          dist-hook
313
352
check-am: all-am
314
353
check: $(BUILT_SOURCES)
315
354
        $(MAKE) $(AM_MAKEFLAGS) check-am
337
376
 
338
377
distclean-generic:
339
378
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
340
 
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
379
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
341
380
 
342
381
maintainer-clean-generic:
343
382
        @echo "This command is intended for maintainers to use"
357
396
 
358
397
html: html-am
359
398
 
 
399
html-am:
 
400
 
360
401
info: info-am
361
402
 
362
403
info-am:
365
406
 
366
407
install-dvi: install-dvi-am
367
408
 
 
409
install-dvi-am:
 
410
 
368
411
install-exec-am:
369
412
 
370
413
install-html: install-html-am
371
414
 
 
415
install-html-am:
 
416
 
372
417
install-info: install-info-am
373
418
 
 
419
install-info-am:
 
420
 
374
421
install-man:
375
422
 
376
423
install-pdf: install-pdf-am
377
424
 
 
425
install-pdf-am:
 
426
 
378
427
install-ps: install-ps-am
379
428
 
 
429
install-ps-am:
 
430
 
380
431
installcheck-am:
381
432
 
382
433
maintainer-clean: maintainer-clean-am
397
448
 
398
449
uninstall-am:
399
450
 
400
 
.MAKE: install-am install-strip
 
451
.MAKE: all check install install-am install-strip
401
452
 
402
453
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
403
 
        distclean distclean-generic distclean-hdr distclean-libtool \
404
 
        distdir dvi dvi-am html html-am info info-am install \
405
 
        install-am install-data install-data-am install-dvi \
 
454
        dist-hook distclean distclean-generic distclean-hdr \
 
455
        distclean-libtool distdir dvi dvi-am html html-am info info-am \
 
456
        install install-am install-data install-data-am install-dvi \
406
457
        install-dvi-am install-exec install-exec-am install-html \
407
458
        install-html-am install-info install-info-am install-man \
408
459
        install-pdf install-pdf-am install-ps install-ps-am \
415
466
# magic to include SVN revision number in NUT version string
416
467
 
417
468
nut_version.h: FORCE
418
 
        @SVNREV=`LANG=C svnversion -n $(top_srcdir) 2>/dev/null`; \
419
 
        if [ -z "$$SVNREV" -o "$$SVNREV" = "exported" ]; \
420
 
                then NUT_VERSION="$(PACKAGE_VERSION)"; \
421
 
                else NUT_VERSION="$(PACKAGE_VERSION)-$$SVNREV"; \
 
469
        @GITREV=`git describe --tags 2>/dev/null | sed 's/^v\([0-9]\)/\1/' `; \
 
470
        if [ -z "$$GITREV" ]; \
 
471
                then SVNREV=`LANG=C svnversion -n $(top_srcdir) 2>/dev/null`; \
 
472
                if [ -z "$$SVNREV" -o "$$SVNREV" = "exported" ]; \
 
473
                        then NUT_VERSION="$(PACKAGE_VERSION)"; \
 
474
                        else NUT_VERSION="$(PACKAGE_VERSION)-$$SVNREV"; \
 
475
                fi ; \
 
476
                else NUT_VERSION="$$GITREV"; \
422
477
        fi ; \
423
478
        echo '/* Autogenerated file. Do not change. */'    > _nut_version.h ; \
424
479
        echo '/* This file was generated by "make". */'   >> _nut_version.h ; \
429
484
        -rm -f _nut_version.h
430
485
 
431
486
FORCE:
 
487
 
 
488
# counter part of BUILT_SOURCES: since nut_version is not a direct
 
489
# deps of a local target, we must clean it by ourself before the
 
490
# distribution
 
491
dist-hook:
 
492
        rm -f $(distdir)/nut_version.h
 
493
 
432
494
# Tell versions [3.59,3.63) of GNU make to not export all variables.
433
495
# Otherwise a system limit (for SysV at least) may be exceeded.
434
496
.NOEXPORT: