0

nmake を使用してインストーラーとアンインストーラーを作成し、テストしようとしています。作成とアンインストールはすぐにチェックアウトできますが、アンインストール後にファイルが削除されたことを確認する方法がわかりません。

ありがとうHG

  ?: InstalledFile.txt
        Setup.exe --uninstall

    InstalledFile.txt: Installer
        Setup.exe

    Installer: Setup.exe
        InstallerAssembler.py -p=Complex.xml -t=Complex

    Setup.exe: 
        p4 sync $(VIEW)
        devenv ...
4

1 に答える 1

2

make負の論理を表現するのはあまり得意ではありません。

標準的な回避策は、ダミー ファイルを作成することだと思います。

InstalledFile.txt.isabsent:
    (some command that creates the target if InstalledFile.txt does not exist, and fails otherwise)
于 2011-09-21T11:59:18.030 に答える