Removed the default prefix of /usr, which makes the default prefix /usr/local. This breaks backwards compatibility with various documentation, videos, etc., but conforms with standard Linux practices, however misguided they may be. Once the open_pdks Sky130 distribution becomes a package (which is inevitable, given how long the installation takes), then the documented /usr/share/ will be correct anyway.
diff --git a/docs.txt b/docs.txt index c2882b2..13b2c71 100644 --- a/docs.txt +++ b/docs.txt
@@ -140,16 +140,16 @@ make Generate local staging area sudo make install Install onto local system - which will install to /usr/share/pdk directory. + which will install to /usr/local/share/pdk directory. Users can also elect to install somewhere by giving ./configure the `--prefix` and other similar standard ./configure options. For example; - Installing to /usr/local/share/pdk; + Installing to /usr/share/pdk; - ./configure --prefix=/usr/local + ./configure --prefix=/usr make sudo make install
diff --git a/scripts/configure.ac b/scripts/configure.ac index 244bd6c..15afffb 100755 --- a/scripts/configure.ac +++ b/scripts/configure.ac
@@ -1,6 +1,6 @@ AC_INIT([open_pdks], [1.0], [github.com/RTimothyEdwards/open_pdks]) -AC_PREFIX_DEFAULT(/usr) +# AC_PREFIX_DEFAULT(/usr) AC_CONFIG_MACRO_DIR(m4) ## REQUIRES: https://www.gnu.org/software/autoconf-archive/ax_python_module.html#ax_python_module