| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Just use PATH to find sed. Not all distributions have moved to a /usr-merged
layout yet.
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
|
|
|
|
| |
All systemd unit files are expected to be not executable, so install
with correct permissions.
|
|
|
|
|
|
|
|
|
|
| |
This cleans up a little more than "make clean",
in particular removing files generated from templates,
and automake-generated files in iscsiuio.
Also, a ".PHONY:" target was added where needed
so that each Makefile has a complete list of
phony targets.
|
|
|
|
|
|
|
| |
Installation of the systemd generator file ibft-rule-generator
is added in etc/Makefile to the "install" target, and that
target is broken into "install_systemd_service_files", and
"install_systemd_generator_files", for caller convenience.
|
|
|
|
|
| |
For the files we insall from etc/Makefile, this avoids
prepending with DESTDIR twice.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds two new top-level build options: one
for the "home" directory for open-iscsi called "HOMEDIR",
and one for the "database" directory, called "DBROOT". One can
now override the defaults of "/etc/iscsi" for either or
both of these directories on the make command line.
The README and man pages are updated with details about
these new options.
Some Makefile cleanup/repair was done as well. Installation
of the initiatorname.iscsi file, was moved out of the top-level
Makefile into the etc subdirectory, and installation of man
ages moved from the top-level Makefile to the doc subdirectory.
Also, this fixes some issues from commit fd14dd8316b1 ("Clean
p Makefile build system."), which incorrectly changed the DESTDIR
ariable in the Makefiles. This current commit also fixes the
top-level variable names for moving DBROOT and HOMEDIR.
|
|
A major overdue overhaul of the Make layout, including
moving lots of lower-level things out of the top-level
Makefile into the Makefiles for the appropriate subdirectory,
renaming the template files (where @SBINDIR@ gets translated)
so that their purpose is more obvious, making the build more
idempotent (no need to install a file if it's not newer).
Should be no functional change, as no script or C file changed.
Main difference from before: now the udev rules gets made and
installed by default (as part of "make"/"make install"), and
the iscsiuio daemon is now installed for "make install".
One should now be able to go into any subdirectory and type
"make"/"make install" to build and install the targets from
that directory, at least for the etc, utils, and usr
subdirectories.
This change is in preparation for more template translations
coming.
|