[Powertop] [RFC 1/2] build: wrap Makefile.am to a more reasonable line length

Vinicius Costa Gomes <vcgomes at gmail.com> Wed, 16 May 2012 00:47:35 -0300
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
This was causing git send-email to fail because a line had a length
superior to 998 characters.
---

Just for information, I had to use an undocumented feature of git send-email
(--no-validate) to send this patch.

 src/Makefile.am |   28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 0f9e172..935bdab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,8 +7,32 @@ csstoh_SOURCES = csstoh.c
 sbin_PROGRAMS = powertop
 nodist_powertop_SOURCES = css.h

-powertop_SOURCES = parameters/persistent.cpp parameters/learn.cpp parameters/parameters.cpp parameters/parameters.h display.cpp cpu/cpu_core.cpp cpu/cpudevice.cpp cpu/cpu.cpp cpu/cpu.h cpu/cpu_linux.cpp cpu/abstract_cpu.cpp cpu/intel_cpus.h cpu/cpu_package.cpp cpu/cpudevice.h cpu/intel_cpus.cpp devlist.h devlist.cpp lib.cpp report.cpp process/process.cpp process/interrupt.h process/timer.h process/processdevice.cpp process/powerconsumer.cpp process/work.h  process/timer.cpp process/process.h process/work.cpp process/do_process.cpp process/processdevice.h process/interrupt.cpp process/powerconsumer.h report.h perf/perf.cpp perf/perf_event.h perf/perf.h perf/perf_bundle.h perf/perf_bundle.cpp display.h devices/rfkill.h devices/i915-gpu.cpp devices/device.cpp devices/alsa.cpp devices/runtime_pm.cpp devices/thinkpad-fan.cpp devices/usb.cpp devices/ahci.cpp devices/thinkpad-light.cpp devices/ahci.h devices/i915-gpu.h devices/network.h devices/rfkill.cpp devices/alsa.h devices/thinkpad-fan.h devices/device.h devices/usb.h devices/backlight.h devices/backlight.cpp devices/runtime_pm.h devices/thinkpad-light.h devices/network.cpp lib.h tuning tuning/cpufreq.h tuning/bluetooth.cpp tuning/cpufreq.cpp tuning/tuning.cpp tuning/tuningusb.cpp tuning/ethernet.cpp tuning/bluetooth.h tuning/tuning.h tuning/ethernet.h tuning/tunable.cpp tuning/nl80211.h tuning/iw.c tuning/wifi.cpp tuning/tuningsysfs.h tuning/tuningsysfs.cpp tuning/wifi.h tuning/runtime.cpp tuning/tunable.h tuning/runtime.h tuning/tuningusb.h tuning/iw.h calibrate/calibrate.cpp calibrate/calibrate.h measurement/measurement.cpp measurement/power_supply.cpp measurement/measurement.h measurement/acpi.cpp measurement/sysfs.h measurement/sysfs.cpp measurement/acpi.h measurement/extech.cpp measurement/power_supply.h measurement/extech.h main.cpp css.h powertop.css
-
+powertop_SOURCES = parameters/persistent.cpp parameters/learn.cpp parameters/parameters.cpp \
+		parameters/parameters.h display.cpp cpu/cpu_core.cpp cpu/cpudevice.cpp \
+		cpu/cpu.cpp cpu/cpu.h cpu/cpu_linux.cpp cpu/abstract_cpu.cpp cpu/intel_cpus.h \
+		cpu/cpu_package.cpp cpu/cpudevice.h cpu/intel_cpus.cpp devlist.h devlist.cpp \
+		lib.cpp report.cpp process/process.cpp process/interrupt.h process/timer.h \
+		process/processdevice.cpp process/powerconsumer.cpp process/work.h  \
+		process/timer.cpp process/process.h process/work.cpp process/do_process.cpp \
+		process/processdevice.h process/interrupt.cpp process/powerconsumer.h report.h \
+		perf/perf.cpp perf/perf_event.h perf/perf.h perf/perf_bundle.h \
+		perf/perf_bundle.cpp display.h devices/rfkill.h devices/i915-gpu.cpp \
+		devices/device.cpp devices/alsa.cpp devices/runtime_pm.cpp \
+		devices/thinkpad-fan.cpp devices/usb.cpp devices/ahci.cpp \
+		devices/thinkpad-light.cpp devices/ahci.h devices/i915-gpu.h \
+		devices/network.h devices/rfkill.cpp devices/alsa.h devices/thinkpad-fan.h \
+		devices/device.h devices/usb.h devices/backlight.h devices/backlight.cpp \
+		devices/runtime_pm.h devices/thinkpad-light.h devices/network.cpp lib.h \
+		tuning tuning/cpufreq.h tuning/bluetooth.cpp tuning/cpufreq.cpp \
+		tuning/tuning.cpp tuning/tuningusb.cpp tuning/ethernet.cpp tuning/bluetooth.h \
+		tuning/tuning.h tuning/ethernet.h tuning/tunable.cpp tuning/nl80211.h \
+		tuning/iw.c tuning/wifi.cpp tuning/tuningsysfs.h tuning/tuningsysfs.cpp \
+		tuning/wifi.h tuning/runtime.cpp tuning/tunable.h tuning/runtime.h \
+		tuning/tuningusb.h tuning/iw.h calibrate/calibrate.cpp \
+		calibrate/calibrate.h measurement/measurement.cpp measurement/power_supply.cpp \
+		measurement/measurement.h measurement/acpi.cpp measurement/sysfs.h \
+		measurement/sysfs.cpp measurement/acpi.h measurement/extech.cpp \
+		measurement/power_supply.h measurement/extech.h main.cpp css.h powertop.css

 powertop_CXXFLAGS = -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ $(NCURSES_CFLAGS) $(PCIUTILS_CFLAGS) $(LIBNL_CFLAGS) $(GLIB2_CFLAGS)

--
1.7.10.2