Make
- From
- Michael Lestinsky <michael@...>
- Date
Hallo allerseits,
in einem Makefile habe ich ein Target "install". Dieses ist testweise
gerade vollkommen leer, sollte also nix ausführen. Hier am Beispiel von
GNU-Make:
michael@zaphod:~/foo/src> touch install_sh
michael@zaphod:~/foo/src> make -n install
make: Nothing to be done for `install'.
michael@zaphod:~/foo/src> touch install-sh
michael@zaphod:~/foo/src> make -n install
make: Nothing to be done for `install'.
michael@zaphod:~/foo/src> touch install.sh
michael@zaphod:~/foo/src> make -n install
cat install.sh >install
chmod a+x install
Was soll das? AIX-make macht das selbe in grün. OpenBSDs Make macht bei
einem leeren Target auch nichts.
Bye
Michael
--
> Reports of my demise have been largely exagerated. I visited Sweden --
> it's not quite exactly the same as being dead.
Except for the constant sounds of ABBA.
(Kjell Wooding and Theo de Raadt in misc@...)
Thread
Follow-ups: