This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Param ($DnsName) | |
| $Cert = New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -DnsName $DnsName -Verbose | |
| $Password = ConvertTo-SecureString -String $DnsName -Force -AsPlainText -Verbose | |
| Export-Certificate -Cert $Cert -FilePath .\$DnsName.cer -Verbose | |
| Export-PfxCertificate -Cert $Cert -FilePath .\$DnsName.pfx -Password $Password -Verbose | |
| $CertThumbprint = $Cert.Thumbprint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foo: screensaver-gdbus.c foo.c | |
| $(CC) -Wall -Wextra -Wno-unused-parameter $(CFLAGS) -o $@ `pkg-config --cflags --libs glib-2.0 gio-2.0 gio-unix-2.0` $^ | |
| %-gdbus.c %-gdbus.h: %-dbus.xml | |
| gdbus-codegen --interface-prefix org.gnome. --generate-c-code $*-gdbus --c-namespace Foo_DBus $< | |
| screensaver-dbus.xml: | |
| gdbus introspect -e -d org.gnome.ScreenSaver -o /org/gnome/ScreenSaver -x > $@ | |
| clean: |