mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Ensure fsadm.sh is executable
When the srcdir == builddir we get the link on non-exectable file. So make always sure fsadm.sh is executable script file. Add cleanup target for lib/fsadm.
This commit is contained in:
parent
4eeff46bf2
commit
08885c4b92
@ -101,6 +101,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
ln -fs "$(abs_top_builddir)/daemons/dmeventd/dmeventd" lib/dmeventd
|
||||
ln -fs "$(abs_top_builddir)/daemons/lvmetad/lvmetad" lib/lvmetad
|
||||
ln -fs "$(abs_top_builddir)/scripts/vgimportclone.sh" lib/vgimportclone
|
||||
chmod +x "$(abs_top_builddir)/scripts/fsadm.sh"
|
||||
ln -fs "$(abs_top_builddir)/scripts/fsadm.sh" lib/fsadm
|
||||
touch $@
|
||||
|
||||
@ -109,6 +110,6 @@ clean:
|
||||
if test "$(srcdir)" != . ; then rm -f $(subst $(srcdir)/, ,$(RUN)) lvm2app.sh ; fi
|
||||
|
||||
CLEAN_TARGETS += .lib-dir-stamp .test-stamp $(LIB) \
|
||||
lib/dmsetup lib/clvmd lib/dmeventd lib/vgimportclone
|
||||
lib/dmsetup lib/clvmd lib/dmeventd lib/vgimportclone lib/fsadm
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
Loading…
Reference in New Issue
Block a user