diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-03 01:44:34 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-03 23:35:04 +0300 |
commit | 1b907dae072f2aa93d75d8c056a9bd02555a17f8 (patch) | |
tree | a34f9cec995db63e61e9d70c93bc375fce303f25 /distribute.mk.in | |
parent | be368b6f79148720b798cc98222ac86829a53724 (diff) | |
download | sciteco-1b907dae072f2aa93d75d8c056a9bd02555a17f8.tar.gz |
rename sample.teco_ini to fallback.teco_ini and mung it by default
* After installation, SciTECO will therefore start into a more userfriendly mode
even if the user does not create a custom ~/.teco_ini.
It is hoped that this will scare away less of new users, who
are not willing to read through all of the documentation.
Still, users are warned in the absence of ~/.teco_ini.
This warning however, might not be immediately visible, especially
not when running gsciteco without an attached console.
(This will change once I redo the UI and allow a number of messages
to be queued in the message area.)
* Theoretically, you could also just extend fallback.teco_ini from ~/.teco_ini,
but that would require installing it into $SCITECOPATH.
* Since the fallback profile will now be munged automatically
on a wide range of systems, we set up xclip only when detecting X11
($DISPLAY is non-empty).
E.g. when running under Wayland or the Linux console, you still won't
get the clipboard registers, which is probably better than having the
clipboard operations fail once you try to use them.
* xclip is now "suggested" on Debian/Ubuntu.
Unfortunately we cannot pull it in only in the presence of X11.
Diffstat (limited to 'distribute.mk.in')
-rw-r--r-- | distribute.mk.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distribute.mk.in b/distribute.mk.in index 0a82b2c..ab79262 100644 --- a/distribute.mk.in +++ b/distribute.mk.in @@ -104,7 +104,7 @@ poudriere: # and static linking of all dependant libraries (no DLLs are # added to the zip). # If a win32.teco_ini exists, it is added to the release -# instead of sample.teco_ini. +# instead of fallback.teco_ini. # This also adds gspawn-win32-helper-console.exe to the archive # which is required by the glib spawn functions. # If we ever build a non-console version on Windows, @@ -141,7 +141,7 @@ mingw-binary : @PACKAGE@-@PACKAGE_VERSION@-win32.zip temp-install/usr/share/doc/sciteco/* \ temp-bin/ cp @srcdir@/win32.teco_ini temp-bin/.teco_ini || \ - cp temp-install/usr/bin/sample.teco_ini \ + cp temp-install/usr/bin/fallback.teco_ini \ temp-bin/.teco_ini cp @srcdir@/COPYING @srcdir@/ChangeLog temp-bin/ rm -rf temp-install/ |