Commit graph

45 commits

Author SHA1 Message Date
Norbert Preining d527b7ef26
Makefile: support building with ldc2 and usage of pkg-config for lib finding (#334)
* ldc2 support
the pragma versions passed to the compiler need an additional `-d`
prefix in case of ldc2. Add it if the compiler component looks like
ldc2.

* pkg-config support
By passing `PKGCONFIG=1` to the make call libraries are searched via
`pkg-config` instead of hard-coded values.
2019-01-07 11:03:47 +09:00
Norbert Preining cc6cbf5ac7 Notification support via libnotify (#270)
* add external sources for (d)notify with README and license statements
* add new logAndNotify function, make building a compile time option
* use logAndNotify and main.d, make timeout message silent
* update documentation for notification support
* add command line switch --disable-notifications
* add build-deps for libnotify in README.md
2018-12-06 06:19:00 +11:00
adudek 026809d4d1 Docker buildfiles for onedrive service (#262)
* Separate install options for binary (make install.noservice) only and binary
* Docker build files and usage documentation
2018-12-04 11:59:03 +11:00
Norbert Preining 56b63acede Make DOCDIR and MANDIR in the same way configurable as PREFIX etc 2018-12-04 08:40:05 +09:00
abraunegg 33dc260fd2
Update Makefile (#269)
Update Makefile based on 3a14a21cae

**Credit:** Zamir SUN sztsian@gmail.com
2018-12-04 07:28:16 +11:00
abraunegg cdb11326b9
Fix unreachable statements (#268)
* Add warning flag to compiler
* Fix unreachable statements

**Credit:** Zamir SUN <sztsian@gmail.com>
2018-12-04 06:29:18 +11:00
Norbert Preining 90df7e4c9c Installation of doc files, addition of man page (#255)
* install documentation files into $PREFIX/share/doc/onedrive/
* add man page and install it, ignore generated version
* remove installed doc/man on uninstall
* remove generated man page on make clean
2018-12-02 07:41:01 +11:00
abraunegg 79d86e0cb9
Update Makefile - replace 'cp -raf' with 'install -D -m 644' (#202)
* Update makefile - remove 'cp -raf' & chmod and replace with 'install -D -m 644' for service file installation
2018-10-17 18:18:33 +11:00
abraunegg d1d3c8a150
Update Makefile to resolve incorrect systemd installation location(s) Issue #188 (#189)
* Update makefile to fix systemd install locations
* Update makefile to fix systemd uninstall locations
2018-10-07 13:10:41 +11:00
abraunegg 2648612acd
Update makefile & documentation (#172)
* Update makefile & documentation to provide details on how to run the onedrive service via systemd as a non-root user
2018-10-04 09:26:14 +10:00
abraunegg a3f69d4a2e
Resolve systemd/user is not supported on CentOS / RHEL (Issue #131) (#132)
* Resolve systemd/user is not supported on CentOS / RHEL (Issue #131)
2018-08-27 10:35:58 +10:00
abraunegg bed2b6c75f
Implement Feature Request: Add a progress bar for large uploads & downloads (Issue #12) (#99)
* Implement feature request to add a progress bar for large file uploads & downloads
2018-08-10 07:46:27 +10:00
Shady Squirrel 370ad9c6d2 Fix systemd service install for builds with DESTDIR defined (#68) 2018-07-15 06:23:50 +10:00
Chris Coutinho cc62997ccf Update makefile and .gitignore (#56) 2018-07-10 09:16:59 +10:00
Shady Squirrel 56719619f6
Don't remove user configuration with uninstall
`make uninstall` is called by root user, which shouldn't be a primary user anyway,, so removing ~/.config/onedrive will not work for other, normal users.
2018-05-23 21:33:22 +02:00
Shady Squirrel c9caaada9b
Add missing DESTDIR variables
Without it, building of distribution package fails.
2018-05-23 21:31:20 +02:00
abraunegg d3f406459c Update Makefile
* Update wildcard
2018-04-22 08:30:24 +10:00
abraunegg da9cc628cb Update Makefile and systemd files
* Change the ordering of 'make install' so that directories and
permissions are set first
* Use wildcard to copy service files to systemd directory as 'install'
was failing when there was @ in the script
* Update systemd units files based on
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ for
starting the onedrive service
2018-04-22 08:29:43 +10:00
abraunegg 076b180e63 Revert "Manually revert lastModifiedDateTime"
This reverts commit 4a8456fa96.
2018-04-21 07:32:18 +10:00
abraunegg 4a8456fa96 Manually revert lastModifiedDateTime
* Manually revert lastModifiedDateTime
2018-04-21 07:24:19 +10:00
abraunegg 961e7ada3d Cleanup database & config on install and remove
* Cleanup local database on installation
* Cleanup local configuration on removal
2018-04-16 14:17:16 +10:00
abraunegg 16ebc182fe Update makefile
* Add logrotate to makefile
2018-04-14 08:42:20 +10:00
abraunegg cbdbcf860c Update makefile and sample spec
* Include the user onedrive service file in makefile & spec
* Ensure that when 'make install' is done, the logfile path is created
with correct permissions
* Ensure that when RPM package is installed, the logfile path is created
with correct permissions
2018-04-14 08:29:31 +10:00
abraunegg 8a51952aba Update Makefile
Update makefile with missing systemd.units path for sed command
2018-04-13 21:56:22 +10:00
skilion 300b07df3b added DC variable in Makefile 2018-01-02 16:50:54 +01:00
skilion 9765b27902 new parameter syncdir 2017-08-01 19:11:50 +02:00
skilion 7fae9c1bef versioning 2017-07-14 11:40:57 +02:00
Doug Newgard ac6b43c28d Add service filename to Makefile
When the dir the file is being installed to doesn't exist (like when setting DESTDIR), "install" will take the last part as the filename. A file called "/usr/lib/systemd/user" doesn't work correctly.
2017-05-28 21:12:35 -05:00
skilion 83a958df59 added DESTDIR and PREFIX 2017-05-29 01:37:09 +02:00
skilion f2209c0591 add qxor.d to Makefile 2017-05-28 19:53:39 +02:00
skilion 97a9d53914 refactored selective sync code
fixed bug in selective sync
2017-03-24 22:31:56 +01:00
skilion 9dd944286f new feature selective sync
removed system wide config file
hardcoded sane default config
updated README
2017-03-12 16:11:51 +01:00
skilion 738536736a Refactoring
- unified configs
- logging module
- new cmd line option to change the config dir
2016-08-04 23:43:10 +02:00
skilion feb97d373d added separate target for unit tests 2016-06-28 14:22:26 +02:00
skilion 9a9137ea16 removed old curl patch fix 2016-03-07 14:04:08 +01:00
Giuseppe Luigi 05de30a408 Fix install in case no /usr/local/* exists
When installed the *onedrive.conf* file content was copied to the **file** /usr/local/etc, instead of creating the **missing** directory etc/ and then copying inside the file *onedrive.conf*.
2016-03-04 21:48:45 +01:00
skilion ea970890a2 capability to run as service 2015-11-29 21:12:44 +01:00
skilion 9b80d99ad4 support for files bigger than 100 MB and resumable uploads 2015-09-28 13:25:25 +02:00
skilion 9b555d3370 updated makefile 2015-09-22 14:49:20 +02:00
skilion e3f6712df6 included curl with support for patch 2015-09-22 10:55:54 +02:00
skilion 4d230a394c finalizing 2015-09-17 00:16:23 +02:00
skilion 2d4cf32be5 refactoring 2015-09-14 23:56:14 +02:00
skilion ff07f13cd6 command line options 2015-09-14 19:21:06 +02:00
skilion 54e60d4528 real time changes 2015-09-11 18:33:22 +02:00
skilion 00d53f648e first commit 2015-09-01 20:47:44 +02:00