Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package creation and improve Makefile a bit #3

Merged
merged 2 commits into from May 24, 2018
Merged

Fix package creation and improve Makefile a bit #3

merged 2 commits into from May 24, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 23, 2018

Makefile improvements:

  • fixed DESTDIR variable support - source can be used for package creation and user installs now (tested on Arch Linux with both manual make DESTDIR=~/out install and PKGBUILD),
  • removed uneccessary rm -rvf ~/.config/onedrive, because in most cases, it's ineffective - make uninstall is called via su or sudo commands, and user-level configuration definitively isn't in /root/.config

I'm not sure still about directory creation and permission changes in Makefile - I think those should be managed by application itself, and not use /var/log path except when ran as system-level daemon.

Shady Squirrel added 2 commits May 23, 2018 21:31
Without it, building of distribution package fails.
`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.
@abraunegg abraunegg merged commit bc81554 into abraunegg:master May 24, 2018
@lock
Copy link

lock bot commented Jan 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant