Add default ppp-options for kppp

This resolves Bug 2529

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 8942bd9538
commit affe074462

@ -34,6 +34,9 @@ link_directories(
install( FILES Kppp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES Kppp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES ppp-options
DESTINATION ${SYSCONF_INSTALL_DIR}/ppp/peers
RENAME kppp-options )
##### kppp (executable) ######################### ##### kppp (executable) #########################

@ -4,7 +4,7 @@
# make install # make install
xdg_apps_DATA = Kppp.desktop xdg_apps_DATA = Kppp.desktop
EXTRA_DIST = $(xdg_apps_DATA) EXTRA_DIST = $(xdg_apps_DATA) ppp-options
# set the include path for X, qt and KDE # set the include path for X, qt and KDE
INCLUDES= $(all_includes) INCLUDES= $(all_includes)
@ -127,6 +127,8 @@ messages:
# don't install a list of file. Just one file per install. # don't install a list of file. Just one file per install.
# if you have more of them, create a subdirectory with an extra Makefile # if you have more of them, create a subdirectory with an extra Makefile
install-data-local: install-data-local:
$(mkinstalldirs) $(sysconfdir)/ppp/peers/
$(INSTALL_DATA) $(srcdir)/ppp-options $(sysconfdir)/ppp/peers/kppp-options
@echo "" @echo ""
@echo "Don't forget to send me a phone tarif rules file for your" @echo "Don't forget to send me a phone tarif rules file for your"
@echo "telecom company/country/region. Thanks." @echo "telecom company/country/region. Thanks."

Loading…
Cancel
Save