summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2011-07-11Add distcheck support for configuration files when dir is not writableGaetan Nadon
Provide a user writable location for configuration files. Many values will work, but preserving the semantic by using a value based on the server default value is more helpful. The configdir automake variable and the pkgconfig sysconfigdir variable should not be confused with the sysconfdir automake provided configuration option which default value is $prefix/etc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-11Add distcheck support for header files when sdk is not writableGaetan Nadon
During distcheck, a writable location is supplied for the install test. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: collapse all Makefile.am files into a single non-recursive one."Gaetan Nadon
This reverts commit 39afe69ad7d2258d4043044d1283bd6e311e48da. 1. For such a small module, the build time improvement is most likely negligible. At least, I'd like to see some timings proving it's worthiness before seeing the patch go back in. 2. This kind of change would need a thorough review. The need to operate the build from a single toplevel Makefile is a significant change. The two most noticeable issues for me are that collapsing all the Makefiles could easily cause namespacing issues with the variables, and operating on files outside the current directory can introduce subtle bugs. I feel that the non-recursive style is generally less robust than the standard recursive make scheme. 3. It's unlike all the other X.org modules. This isn't a showstopper for me, but the recursive style is well understood here and you've beaten all the modules into a consistent format that makes build bugs unique to specific modules less likely. Acked-by: Dan Nicholson <dbn.lists@gmail.com> To give a concrete example for #3 above, the 175 man pages are much easier maintained using a very similar makefile in the man directory of all X.Org module. The cost of maintaining a single makefile is much higher. Every target in the makefile has to be reviewed and tested when changes are made. Not everyone has the all the skills to handle widely different targets such as man pages, DocBook/XML, librairies, C code, distribution hooks, and so on. Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: install documentation as part of make install."Gaetan Nadon
This reverts commit d27b4e560ccf61b94f067156c6d5c1e3d3e5e1eb. ChangeLog is generated from git and should be created at dist time only. The original patch creates it at make time multiple times and fails when user permissions change such as when using sudo. Some have expressed a desire to install files such as ChangeLog and README. This reversal does not dismiss the idea, but simply reverts a non-essential change that happens to have an implementation bug just before making a module release. Anyone is welcome to promote the idea in the context of the X.Org project where all modules would exhibit the same behaviour. The current behaviour of ChangeLog, although not perfect, has been thoroughly reviewed and widely accepted for several years. As for the files in docs, they should be re-submitted for reviews to determine if they constitute users docs that should be installed as opposed to developers docs which are not. Reported-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: apply the distcheck tricks used in xf86-input-evdev"Gaetan Nadon
This reverts commit 6eb829e07e455a8a04dabae7f257dd42a9b8bcdf. Althought this feature is desirable, it introduces a dormant bug. The value of sdkdir during distcheck points to an empty xserver sdkdir where xserver-properties.h is expected by the tools. Specifying XORG_CFLAGS for the tools worked around the issue by supplying the real path to the xserver sdk. tools must not depend on xserver. In any case it would be a brittle workaround. --with-xorg-conf-dir='$${sysconfdir}/xorg': althought this value will work, it brings some confusion as it is unrelated to the where the configuration files are normally placed, relative to $prefix which is /usr/share/X11 and not /etc. This feature can be reintroduced later with the proper solution. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-05-26build: apply the distcheck tricks used in xf86-input-evdevDiego Elio Pettenò
With this change it is possible to complete "make distcheck" safely on the module, as it no longer tries to write to system directories. Since synaptics also installs a configuration file, xorg-conf-dir also needs to be overridden during distcheck. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-15build: install documentation as part of make install.Diego Elio Pettenò
Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-05-15build: collapse all Makefile.am files into a single non-recursive one.Diego Elio Pettenò
With this change, the whole of the build is done non-recursively in the top-level Makefile.am. This reduces the amount of overhead due to recursing into directories only to build one file. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-04-04Add basic framework for unit-testing.Peter Hutterer
Also adds a bunch of fake symbols so we can link. Note that any of these symbols will return false, 0 or whatever the zero value for the symbol is. Care must be taken when writing test that this doesn't screw up the test. Tests are always built but only run on make check. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-16Add 50-synaptics.conf snippet.Peter Hutterer
If the server exports the sysconfigdir variable, install the 50-synaptics.conf snippet in the directory provided. This patch also moves the fdi file from fdi/ into the new conf/ subdir to have a single location for all config files. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-10INSTALL files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball
2008-10-03Install synaptics-properties.h in xorg include path, install xorg-synaptics.pc.Peter Hutterer
2008-08-14Fix "make distcheck"Christoph Brill
The new directory "include" was not packaged into the tarball. This makes "make distcheck" work again.
2008-08-14Add .fdi file from gentoo (also used by pld)Christoph Brill
This file causes devices having the capability "input.touchpad" to use our driver if they were made by Synaptics or ALPS. This file might need additions for other devices (i.e. I don't think Apple hardware is covered by this file). Note: This file is not installed by default. Distributions are free to install it or leave it.
2008-07-23Move synclient and syndaemon into a /tools/ directory.Peter Hutterer
Let's keep the driver source and the client program source separate.
2008-06-06Add the build system from xf86-input-evdev.Christoph Brill
Copy over the build system and adapt it to our needs. Also backup the old build so we can check if it contained anything helpful.